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.
The existing implementation requires the user to install
@redocly/openapi-cli
andredoc-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-installedopenapi
andredoc-cli
.