• Stars
    star
    190
  • Rank 203,739 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

  • 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

sway binaries for the browser are available in the dist/ directory:

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.

Of course, these links are for the master builds so feel free to download from the release of your choice. Once you've gotten them downloaded, to use the standalone binaries, your HTML include might look like this:

<!-- ... -->
<script src="sway.js"></script>
<!-- ... -->

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.

More Repositories

1

swagger-tools

A Node.js and browser module that provides tooling around Swagger.
JavaScript
701
star
2

volos

Key Node.js modules for building production-quality APIs
JavaScript
205
star
3

swagger-test-templates

Test code generated from Swagger
JavaScript
166
star
4

a127-documentation

Documentation for Apigee-127
113
star
5

swagger-node-runner

The heart of Swagger-Node
JavaScript
102
star
6

a127

Apigee 127 Command Line Interface
JavaScript
72
star
7

swagger-express

JavaScript
52
star
8

bagpipes

Less code, more flow. Let's dance!
JavaScript
47
star
9

swagger-converter

Converts Swagger documents from version 1.2 to 2.0
JavaScript
42
star
10

volos-connectors

Connector Modules for Volos
JavaScript
23
star
11

a127-samples

JavaScript
21
star
12

swagger-testing

Automated API Testing Using SwaggerAPI
TypeScript
16
star
13

swagger-node-slack

Sample
JavaScript
11
star
14

phrixus

A Shopping Cart system utilizing Volos and Usergrid.
JavaScript
11
star
15

swagger-sails

JavaScript
9
star
16

apigee-remote-proxy

A Proxy that installs on Apigee Edge to expose key pieces of Apigee functionality to remote systems via a REST API.
JavaScript
7
star
17

example-project

An example project utilizing Apigee 127
JavaScript
7
star
18

magic

Where the magic happens
JavaScript
4
star
19

usergrid-swagger

4
star
20

swagger-restify

JavaScript
4
star
21

swagger-connect

JavaScript
3
star
22

volos-swagger-oauth

JavaScript
3
star
23

bagpipes-examples

Examples of using bagpipes
JavaScript
3
star
24

swagger-hapi

JavaScript
3
star
25

avault

Apigee Vault Node.js Module
JavaScript
3
star
26

e2e-test

a127 end to end test suite
JavaScript
2
star
27

site

A127 website
HTML
2
star
28

project-skeleton

Cloned skeleton for creating a new Apigee 127 project
JavaScript
2
star
29

swagger-node-examples

Example projects for Swagger-Node
JavaScript
2
star
30

apigee-node-project-template

A good starting template for new node modules with build system, code style etc.
JavaScript
1
star
31

volos-swagger-apply

JavaScript
1
star
32

usergrid-npm

JavaScript
1
star
33

volos-waterline

A Volos connector for Waterline.
JavaScript
1
star