2.3.0 • Published 5 years ago

multi-file-swagger v2.3.0

Weekly downloads
3,983
License
MIT
Repository
-
Last release
5 years ago

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.

You can also output as yaml by using the --output-format option

  multi-file-swagger -o yaml index.yaml > compiled.yaml

License

MIT

2.3.0

5 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago