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 over null #344

Open
robotmayo opened this issue Sep 25, 2024 · 0 comments
Open

Not required over null #344

robotmayo opened this issue Sep 25, 2024 · 0 comments

Comments

@robotmayo
Copy link

robotmayo commented Sep 25, 2024

Is it possible to set a value as not required? Using an optional sets the value as nullable with a validation of "allOf". I just want the value to be optional not nullable. I would expect this to be the case when option_nullable is set and option_add_null_type is not set as in the openapi3 function. This does not seem to be the case.

@robotmayo robotmayo changed the title Avoid using "anyOf/allOf/oneOf" with nullable enum properties Not required over null Sep 25, 2024
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