JavaScript
Latest commit 456a187 Feb 8, 2017 @mohsen1 committed on GitHub Merge pull request #14 from Pocketbrain/master
On NPM + Usable globally.
Permalink
Failed to load latest commit information.
definitions initial commit Jul 17, 2015
info initial commit Jul 17, 2015
paths initial commit Jul 17, 2015
.gitignore initial commit Jul 17, 2015
README.md Update README.md Feb 8, 2017
index.yaml initial commit Jul 17, 2015
package.json Major version bump. Deps updated Feb 7, 2017
resolve.js Update resolve.js Feb 8, 2017

README.md

Multi-file Swagger example

Example of how to split up a large Swagger spec into smaller files.

Read the blog post

Usage

Install the node tool:

  npm install -g multi-file-swagger

Run the command like so:

  multi-file-swagger index.yaml > index.json

This will resolve every json pointer ($ref) externally or internally and then save it in a json file. Which can then be used for code generation and so on.

License

MIT