Swagpack
A simple CLI to merge multiple swagger files.
Install
$ yarn add -D swagpack
How to use
Swagpack uses swagger-merger to bundle your swagger files.
If you want to know details about syntax and reference formats, please read the document
To bundle your files:
$ swagpack build entry.yml -o output.yaml
You can use watch mode by giving target directory path
$ swagpack build entry.yml -o output.yaml -w ./src
CLI Options
Usage: swagpack build [options] <file>
Options:
-w, --watch <dir> Watch your swagger directory's changes
-o, --output <path> Output file
-h, --help display help for command
License
MIT