[](https://www.npmjs.com/package/@grace-studio/openapi-docs)
npm install @grace-studio/openapi-docs
``bash
npm i -g @grace-studio/openapi-docs
yarn global add @grace-studio/openapi-docs
`
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:
`bash`
openapi-docs \
--files
Example:
`bash``
openapi-docs \
-f ./testfiles/test.json ./testfiles/test2.json ./testfiles/test3.yml