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

Setting additionalProperties = false #141

Closed
dgmora opened this issue Oct 13, 2023 · 1 comment
Closed

Setting additionalProperties = false #141

dgmora opened this issue Oct 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@dgmora
Copy link

dgmora commented Oct 13, 2023

When migrating from RSwag, I noticed that in many places we have additionalProperties = false, to ensure that the documentation is complete. Would it make sense to have a "strict mode" where additionalProperties are set by default to false in objects?

I imagine we could set this to false manually, but it could be convenient.

@exoego
Copy link
Owner

exoego commented Oct 13, 2023

I think this duplicates #132
Feel free to reopen if it is a different use case

@exoego exoego closed this as completed Oct 13, 2023
@exoego exoego added the enhancement New feature or request label 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

2 participants