Skip to content

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.

License

Notifications You must be signed in to change notification settings

shattar/generator-swaggerize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-swaggerize

Lead Maintainer: Trevor Livingston

Build Status
NPM version

Yeoman generator for swagger application with krakenjs/swaggerize tools.

Generates projects for:

  • Express
  • Hapi

See also:

Usage

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

Re-running handlers, test, and models generator

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

Other CLI Options

  • --framework - specify the framework (hapi or express).
  • --apiPath - specify the path to the swagger document.

About

Yeoman generator for design-driven apis with swagger 2.0 and krakenjs/swaggerize tools.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%