flowup / api-client-generator

Angular REST API client generator from Swagger YAML or JSON file with camel case settigs
MIT License
115 stars 21 forks source link

[api-client] method parameter non referred enums #39

Closed vmasek closed 3 years ago

vmasek commented 6 years ago

method parameters that are enums but not referenced or listed in parameters schema are not generated properly. The enum type is used instead of enum itself. In this example swagger we can see the enum properties but parameter orderBy is generated as a string (which is non-breaking but incorrect)

vmasek commented 3 years ago

Implemented with parse scheme refactor