Redoc deployment guide
Redoc offers multiple options for rendering your OpenAPI definition. You should select the option that best fits your needs.Deployment Options
- Live demo
The live demo offers a fast way to see how your OpenAPI renders with Redoc. A version of the Swagger Petstore API is displayed by default. To test it with your own OpenAPI definition, enter the URL for your definition and select TRY IT. - HTML element
Using the HTML element works well for typical website deployments. - React component
Using the React component is an option for users with a React-based application. - Docker image
Using the Docker image works in a container-based deployment. - Redocly CLI
Using the Redocly CLI is an option for users who prefer to use a command-line interface.
Before you start
OpenAPI definition
You need an OpenAPI definition. For testing purposes, you can use one of the following sample OpenAPI definitions:- OpenAPI 3.0
- OpenAPI 2.0
OpenAPI specification
For more information on the OpenAPI specification, refer to the Learning OpenAPI 3 section in the documentation.
For more information on the OpenAPI specification, refer to the Learning OpenAPI 3 section in the documentation.