Skip to content
/ sway Public
forked from apigee-127/sway

A library that simplifies OpenAPI (fka Swagger) integrations/tooling.

License

Notifications You must be signed in to change notification settings

Rigzzzz/sway

This branch is 3 commits ahead of, 9 commits behind apigee-127/sway:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6cfebc4 · Nov 28, 2018
Nov 28, 2018
Nov 28, 2018
Nov 28, 2018
Aug 31, 2018
Apr 10, 2015
Feb 25, 2016
Dec 23, 2016
Oct 11, 2017
Aug 31, 2018
Jan 12, 2016
Apr 10, 2015
Sep 26, 2018
Sep 5, 2018
Sep 5, 2018
Sep 25, 2018
Nov 28, 2018
Sep 25, 2018
Nov 28, 2018
Oct 4, 2018

Repository files navigation

A library that simplifies OpenAPI integrations. This library handles the minutiae of loading OpenAPI documents (local and remote), resolving references (local, remote), building an object model and providing you with a rich set of APIs for things like OpenAPI document validation, request/response validation, etc. For more details on the available APIs, please view the API Documentation.

master will always be built to support the latest release of OpenAPI, which right now is 3.x. Previous versions are in their own respective v{N}.x branch:

  • 3.x Support (WIP): master
  • 2.x Support: v2.x

Project Badges

  • Build status: Build Status
  • Dependencies: Dependencies
  • Developer dependencies: Dev Dependencies
  • Downloads: NPM Downloads Per Month
  • Gitter: Join the chat at https://gitter.im/apigee-127/sway
  • License: License
  • Version: NPM Version

Installation

sway 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 sway --save

Standalone Binaries

The standalone binaries come in two flavors:

Note: I realize these binaries are big and I'm working on making them smaller. Unfortunately, some of this is out of my control without rewriting some of the core features provided by third-party libraries currently contributing to the size issue.

Node.js

Installation for Node.js applications can be done via NPM.

npm install sway --save

Documentation

The documentation for this project can be found here: /docs/README

Of course, if you just want a quick link to the API documentation, that would be here:/docs/API.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.

About

A library that simplifies OpenAPI (fka Swagger) integrations/tooling.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%