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

not required not the same as nullable: true #458

Open
edeutsch opened this issue Sep 26, 2023 · 0 comments
Open

not required not the same as nullable: true #458

edeutsch opened this issue Sep 26, 2023 · 0 comments
Milestone

Comments

@edeutsch
Copy link
Collaborator

I think in several places in the schema, we assumed that not required properties were equivalent to nullable: true
But according to JSON schema validation, this is not true. It appears that a non-required property that is not explicitly defined to be nullable: true can fail validation if it is null.

TODO: Check all properties and define them all as nullable: true or nullable: false to avoid this ambiguity.

@edeutsch edeutsch added this to the v1.5 milestone Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant