Forum Discussion

confusedDev's avatar
confusedDev
New Contributor
5 years ago

Python Client Side No Type Validation beyond checking NoneType

So I used openapi to generate my client side python code and was wondering about type validation in the auto generated models. I see that at the top there is always a dictionary of parameters with their required type, but there isn't any validation being done when you create an instance of that model beyond if you set the nullable value to false? Is there something in the contract that I have to do to turn on validation or is it just not supported for python?

No RepliesBe the first to reply