-
Notifications
You must be signed in to change notification settings - Fork 39
[Bug] Comparison of additionalProperties should be fixed #314
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
Comments
@allenjzhang: What is the justification for treating these as equivalent? Can you link to a spec or something that these should be equivalent? Why are we (or our code generators) switching from Would you say this is really a "bug", or more a "feature request"? Because |
For |
Do you have a source for this? Is this something universally true in OpenAPI, or specific to our flavor of OpenAPI? |
... when comparing
additionalProperties: true
vsadditionalProperties: {}
.additionalProperties: true
allows any additional properties of any type.additionalProperties: {}
is functionally equivalent toadditionalProperties: true
, allowing any additional properties without specific schema constraints.Change between them should not be flagged.
The text was updated successfully, but these errors were encountered: