Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (optional) processing step to disable additionalProperties #16

Open
julrich opened this issue Oct 13, 2023 · 0 comments
Open

Add (optional) processing step to disable additionalProperties #16

julrich opened this issue Oct 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@julrich
Copy link
Member

julrich commented Oct 13, 2023

In most circumstances it's not preferable to allow additional (unknown) string-indexed keys on your schemas. Currently, sometimes, those can pop up because of processing that leaves "type": "object" without additionalProperties: false.

It would be nice to have an option to blanket enable additionalProperties, always. This would also be helpful, because the default for additionalProperties is true when left blank.

@julrich julrich added the enhancement New feature or request label Oct 13, 2023
@julrich julrich added this to the Release 09/2023 milestone Oct 13, 2023
@julrich julrich self-assigned this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant