The hideReplay option controls whether the Try it buttons appear on API requests. For example, you can hide the button in your public API docs and keep it visible on your internal site.
The hideReplay setting is not available in Redoc Community Edition.
| Option | Type | Description |
|---|---|---|
| hideReplay | boolean | Hide the Replay component that lets users send requests to an API from the docs. Default: false. |
The following example hides the Replay component:
redocly.yaml
openapi:
hideReplay: true- Replay API explorer - How users test APIs from the reference docs
- OpenAPI configuration - All the options you can set under
openapi - OpenAPI Specification - The official standard for API descriptions
- OpenAPI visual reference - A visual map of every part of an OpenAPI description
- Configuration options - All the other options for your project