Skip to content

grace-studio/openapi-docs

Repository files navigation

@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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published