зеркало из https://github.com/Azure/sway.git
bc4615e529 | ||
---|---|---|
browser | ||
docs | ||
lib | ||
samples/2.0 | ||
test | ||
.editorconfig | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
README.md | ||
RELEASE_NOTES.md | ||
bower.json | ||
gulpfile.js | ||
index.js | ||
package.json |
README.md
An API for interacting with Swagger documents.
Project Badges
Installation
swagger-core-api is available for both Node.js and the browser. Installation instructions for each environment are below.
Browser
Installation for browser applications can be done via Bower or by downloading a standalone binary.
Using Bower
bower install swagger-core-api --save
Standalone Binaries
The standalone binaries come in two flavors:
- swagger-core-api-standalone.js: 2,312kb, full source and source maps
- swagger-core-api-standalone-min.js: 244kb, minified, compressed and no sourcemap
Node.js
Installation for Node.js applications can be done via NPM.
npm install swagger-core-api --save
Documentation
The documentation for this project can be found here: https://github.com/apigee-127/swagger-core-api/blob/master/docs/README.md
Contributing
This project uses Gulp for building so npm install -g gulp
once you clone this project. Running gulp
in the
project root will lint check the source code and run the unit tests.