Skip to content

alpgurtan/multi-file-swagger-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-file Swagger example

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

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

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%