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

OneOf constraint based on availability of required properties fails #42

Closed
vearutop opened this issue Aug 31, 2021 · 1 comment
Closed

Comments

@vearutop
Copy link
Member

vearutop commented Aug 31, 2021

Required properties need to be rendered as nullable and nil-check should be performed on (un)marshaling. This will allow correct processing of oneOf structures.

@vearutop
Copy link
Member Author

vearutop commented Sep 4, 2021

It turned out the feature is already there, but need to to be enabled with validateRequired.

@vearutop vearutop closed this as completed Sep 4, 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