Lead Maintainer: Trevor Livingston
Yeoman generator for swagger application with krakenjs/swaggerize tools.
Generates projects for:
- Express
- Hapi
See also:
Install yeoman's yo if you haven't already:
$ npm install -g yo
Install generator-swaggerize:
$ npm install -g generator-swaggerize
Create a project:
$ yo swaggerize
In an existing project, you can run the generator with the --only option. This option supports a comma delimited string of types to generate.
$ yo swaggerize --only=handlers,models,tests
--framework- specify the framework (hapiorexpress).--apiPath- specify the path to the swagger document.
