We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
#[serde(deny_unknown_fields)] on a struct should result in additionalProperties: false in the outputted schema.
#[serde(deny_unknown_fields)]
additionalProperties: false
c.f. https://json-schema.org/understanding-json-schema/reference/object#additionalproperties
The text was updated successfully, but these errors were encountered:
deny_unknown_fields
Great, good that you took the initiative to implement the feature. Recently I have had close to no time to invest in the utoipa.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
#[serde(deny_unknown_fields)]
on a struct should result inadditionalProperties: false
in the outputted schema.c.f. https://json-schema.org/understanding-json-schema/reference/object#additionalproperties
The text was updated successfully, but these errors were encountered: