cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
404 stars 134 forks source link

Properties are optional by default, can be changed ? #159

Closed Leonardonline closed 3 years ago

Leonardonline commented 3 years ago

Based on this comment

Properties are optional by default.

Is there any way to change it?

Like enabling default to required unless the nullable flag is set to true

luisfpg commented 3 years ago

Sorry, no. This would not be spec-compliant.