Norvell's Public Machinations
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gen-swagger-javascript-client

1.0.2 • Public • Published

gen-swagger-client-script

Generates a Javascript Client with Flowtyping from Swagger specs

The generated client API returns promises

Installing gen-swagger-client-script

npm install --save gen-swagger-client-script

Using Yarn

require('./scripts/gen-swagger-client-script.js')
    .genSwaggerClient
    .genJsScript('./api-spec/holla-api-spec.yaml', './scripts/');

genJsScript(yaml swagger spec, directory to put the client api)

Keywords

none

install

npm i gen-swagger-javascript-client

Downloadsweekly downloads

10

version

1.0.2

license

GPL

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar