Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

swagpack

0.0.5 • Public • Published

Swagpack

A simple CLI to bundle your swagger files.

Install

$ yarn add 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 [options] [command]

Bundle multiple swagger files

Options:
  -w, --watch <dir>       watch your swagger directory's changes
  -o, --output <path>     output file
  -V, --version           output the version number
  -h, --help              output usage information

Commands:
  build [options] <file>

License

MIT

Install

npm i swagpack

DownloadsWeekly Downloads

6

Version

0.0.5

License

MIT

Unpacked Size

70.5 kB

Total Files

15

Last publish

Collaborators

  • avatar