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

JSON Schema - Distinguish between null and undefined #21

Open
evestera opened this issue Nov 12, 2020 · 0 comments
Open

JSON Schema - Distinguish between null and undefined #21

evestera opened this issue Nov 12, 2020 · 0 comments

Comments

@evestera
Copy link
Owner

evestera commented Nov 12, 2020

For JSON Schema, null and an optional field / undefined is not the same, so the currently generated schemas fail for JSON where explicit nulls are used instead of omitting optional fields.

@evestera evestera changed the title JSON Schema - Use anyOf for explicit nulls JSON Schema - Distinguish between null and undefined Mar 21, 2021
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