hideReplay
The hideReplay
configuration option allows you to control the visibility of the Try it
buttons associated with API requests.
For example, you might want to hide the Try it
button in your public API documentation, and make it visible only on your internal website.
Options
Option | Type | Description |
---|---|---|
hideReplay | boolean | Hide the Replay component that allows users to interactively send requests to an API. Defaults to false . |
Examples
The following example hides the Replay
component from the API reference documentation.
redocly.yaml
openapi: hideReplay: true
Related options
- openapi - Learn more about using
openapi
configuration.