Carapacik / swagger_parser

Dart package that takes an OpenApi definition file and generates REST clients based on retrofit and data classes for your project.
https://pub.dev/packages/swagger_parser
MIT License
88 stars 33 forks source link

RequiredByDefault is not applied correctly to dto object #179

Closed cl3m closed 4 months ago

cl3m commented 4 months ago

Where required by default is true, the data classes properties are not required by default which make all the properties nullable.

Carapacik commented 4 months ago

@cl3m Make sure that your code passes all checks, in this case format it.