Wednesday, 20 June 2018

Is there a module which will generate a REST client based on OpenAPI specs on the fly?

I recently was going through the swagger components and saw REST clients code generators are available. However, I was wondering if any module is available that will generate a client during run time and will work on both nodejs and browser.Something like this:```javascriptlet client = ClientFactory.getClient(openApiSpecs);let reponse = client.addEmployee({name:"ABC"});```

Submitted June 20, 2018 at 08:54AM by abskmj

No comments:

Post a Comment