ga4gh / gh-openapi-docs

Package for building OpenAPI schema docs and UI for gh-pages
Apache License 2.0
7 stars 5 forks source link

Run local install of openapi and redoc-cli #57

Closed tschaffter closed 3 years ago

tschaffter commented 3 years ago

The existing implementation requires the user to install @redocly/openapi-cli and redoc-cli globally. This is not a good practice because running this tool should not require the user to do modifications to his/her development environment that could have side effect on other of his/her project. Instead, this PR proposes that the scripts bundle.js and redoc-ui.js executes locally-installed openapi and redoc-cli.