swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

[javascript] Creation of ES6-like Javascript code with promises

Open mwallnoefer opened this issue 4 years ago • 2 comments

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

Bildschirmfoto vom 2020-07-01 20-32-46

mwallnoefer avatar Jul 01 '20 18:07 mwallnoefer

Any news on this?

mwallnoefer avatar Jan 29 '24 09:01 mwallnoefer

Hello @mwallnoefer,

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

HugoMario avatar Jan 30 '24 13:01 HugoMario