New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-swaggerize

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-swaggerize

Yeoman generator for swagger application with krakenjs/swaggerize tools.

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
45
increased by164.71%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 29 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc