Closed
Description
This is a couple of feature requests for the JavaScript client generator (not the runtime generator, I am generating form a swagger file offline):
-
Is there any way to make the generator produce a JS client produce a client that uses Promises? It looks like the online generator can do this, but not the offline one, but I could be wrong.
-
Is there any chance we could get rid of jQuery to do the ajax calls? It is unfortunate to have to pull in this heavy dependency just for that, when there are many lightweight ajax libraries out there. Ideally it should work both in a Web client and from Node, so how about something like isomorphic-fetch? This also uses Promises, so it helps with Adds the missing install-ivy build script #1 above.