Skip to content

Add support for setting strict_nullable from CLI #493

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greg80303
Copy link

@greg80303 greg80303 commented Jun 19, 2025

datamodel-code-generator supports the OpenAPI 3.0 strict handling of nullable properties. Allow that to be enforced in code generation from the command line

Probably addresses issue #473

gregrutz-comcast and others added 2 commits June 19, 2025 15:08
`datamodel-code-generator` supports the OpenAPI 3.0 strict handling of nullable properties. Allow
that to be enforced in code generation from the command line
@greg80303
Copy link
Author

I see that this is a slightly different solution from the one proopsed in #474. Happy to have either merged.

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

Successfully merging this pull request may close these issues.

2 participants