api-ref-bundler-cli
v0.4.0
Published
Bundle external $ref in Json based API document into single document via CLI
Downloads
9
Maintainers
Readme
api-ref-bundler-cli
This package provides cli tool to resolve all external references in Json based API document and bundle into single document
Works perfectly with API specifications
Installation
npm i -g api-ref-bundler-cli
Usage
ref-bundler <filename> [-f <output format>] [-d <dest path>] [-t <file type>]
Output formats: yaml
, json
File type: oas3
(default), aas2
, jsonschema
Contributing
When contributing, keep in mind that it is an objective of api-ref-bundler-cli
to have no package dependencies. This may change in the future, but for now, no-dependencies.
Please run the unit tests before submitting your PR: npm test
. Hopefully your PR includes additional unit tests to illustrate your change/modification!
License
MIT