/js-swagger-generator

Generates js functions ready to use, from swagger file

Primary LanguageJavaScriptMIT LicenseMIT

js-swagger-generator (jog)

DeepScan grade Known Vulnerabilities

Generates js functions ready to use, from swagger file (3.0 and higher)

Installing

Using npm:

$ npm install js-swagger-generator --save-dev

Saving as dev dependency, because generator usually needed for development

Generator API

Engine used to generate source from open api/swagger specification.

Options:

--language: es [js, es, ts, c++]
--client: [fetch, axios, superagent] Only required for javascript and typescript