0.5.1 • Published 7 years ago

sails-swagger v0.5.1

Weekly downloads
311
License
MIT
Repository
github
Last release
7 years ago

swagger

NPM version Build status Dependency Status Code Climate

swagger.io (v2.0) hook for Sails. The application's models, controllers, and routes are aggregated and transformed into a Swagger Document. Supports the Swagger 2.0 specification.

This package was last updated in 2015. For the most up-to-date information on auth and permissions in Sails, visit the official Sails website.

Install

$ npm install sails-swagger --save

Configuration

// config/swagger.js
module.exports.swagger = {
  /**
   * require() the package.json file for your Sails app.
   */
  pkg: require('../package'),
  ui: {
    url: 'http://balderdash.io'
  }
};

License

MIT

0.51.0

7 years ago

0.50.0

7 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.2.1

9 years ago

0.0.0

9 years ago