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? 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
additionalProperties: false
https://json-schema.org/understanding-json-schema/reference/object#additionalproperties
The source.yaml files do not always have this set (default is true in JSON Schema), but the MSP updates the JSON schema files with additionalproperties: false. We should forbid extra attributes on our pydantic models (https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.extra)
additionalproperties: false
The text was updated successfully, but these errors were encountered:
fix: forbid extra attributes when additionalProperties is set to False
dfe1663
close #505
fix: forbid extra attributes when additionalProperties is set to False (
356d975
#506) close #505
korikuzma
Successfully merging a pull request may close this issue.
https://json-schema.org/understanding-json-schema/reference/object#additionalproperties
The source.yaml files do not always have this set (default is true in JSON Schema), but the MSP updates the JSON schema files with
additionalproperties: false
. We should forbid extra attributes on our pydantic models (https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.extra)The text was updated successfully, but these errors were encountered: