Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

apigee-127/swagger-sails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sails.js Hook for Swagger projects

This middleware is used by the Swagger project. It is designed to handle all your Open API-driven project needs with minimal fuss - and maximal flexibility.

Important!

This is primarily a wrapper for the swagger-node-runner project. Be sure to follow that project and read the release notes there!

Installing

Swagger greenfield app

This hook will automatically be installed and used when creating a Sails application through the Swagger cli.

Existing Sails apps

To add to an existing Sails app:

  1. Install module as a dependency in your app: npm install --save swagger-sails-hook
  2. Create a directory called api/mocks in your app
  3. Create a directory called api/swagger in your app
  4. Copy your swagger.yaml file to the api/swagger directory
  5. Start your app: swagger project start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published