Last updated

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

OptionTypeDescription
hideReplaybooleanHide 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
  • openapi - Learn more about using openapi configuration.

Resources