mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
Mark not required
swagger properties as optional typescript properties (#7806)
* Mark `not required` swagger properties as optional typescript properties Properties that aren't required in the swagger contract should be marked as optional typescript properties, i.e. with `?` after their name when they are defined. * Adding Petstore samples files generated with the optional property change
This commit is contained in:
parent
12abfb9686
commit
009dcf0090