0.1.0 • Published 2 years ago

@grace-studio/openapi-docs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@grace-studio/openapi-docs

npm version

Installation

npm i -g @grace-studio/openapi-docs

# or

yarn global add @grace-studio/openapi-docs

Usage

Combines multiple JSON or YAML files to one OpenAPI file used for documentation. Outputs the files to /docs including the OpenAPI file and an html-file with a standalone reference to Redoc that can be used directly.

Merge multiple JSON or YAML files:

openapi-docs \
--files <input-files...>

Example:

openapi-docs \
-f ./testfiles/test.json ./testfiles/test2.json ./testfiles/test3.yml
0.1.0

2 years ago