swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
Swagger Editor provides an option to generate client-side JS bindings (option Generate Client/Javascript). It would be nice to have another option Generate Client/Javascript ES6+Promises which configures swagger-codegen-js to produce more modern code (which may be enabled over cmdline options).
I would handle this with an option for javascript generator instead create a new one. Feel free to file a PR and ping me when it's ready, so I can help you to get it merged
Content & configuration
/
Is your feature request related to a problem?
No
Describe the solution you'd like
Swagger Editor provides an option to generate client-side JS bindings (option Generate Client/Javascript). It would be nice to have another option Generate Client/Javascript ES6+Promises which configures swagger-codegen-js to produce more modern code (which may be enabled over cmdline options).
Describe alternatives you've considered
/
Additional context