datamodel-code-generator
datamodel-code-generator copied to clipboard
Add option to disable Field constraints
Is your feature request related to a problem? Please describe. I'm in the unfortunate position of having to consume an API that has incorrect constraints in its OpenAPI documentation. Up until now, I have been manually removing the Field constraints, but I was wondering if this could be a useful CLI flag for anyone else.
Describe the solution you'd like
Some sort of --no-constraints flag added as a CLI flag
Describe alternatives you've considered N/A
Additional context N/A
I don't know how much sense it would have.
What kind of model are you trying to generate? Pydantic?