swagpack

0.0.6 • Public • Published

Swagpack npm version

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

Dependencies (3)

Dev Dependencies (2)

Package Sidebar

Install

npm i swagpack

Weekly Downloads

6

Version

0.0.6

License

MIT

Unpacked Size

8.42 kB

Total Files

13

Last publish

Collaborators

  • andoshin11