Skip to content
Last updated

hideReplay

Plans:ProScaleEnterprise

The hideReplay option controls whether the Try it button appears on WebSocket channels in AsyncAPI documentation. For example, you can hide the button in your public API docs and keep it visible on your internal site.

Early access

This is a feature in early access. It may not be available for your organization yet, and its behavior may change before general availability.

To request access to this feature, contact our Support team.

The hideReplay setting is not available in Redoc Community Edition.

Options

OptionTypeDescription
hideReplaybooleanHide the Try it button that opens Replay on WebSocket channels. Default: false.

Examples

The following example hides the Try it button on every channel of every AsyncAPI description:

redocly.yaml
asyncapi:
  hideReplay: true

The following example hides the button only in the documentation of the events@v1 API:

redocly.yaml
apis:
  events@v1:
    root: asyncapi/events.yaml
    asyncapi:
      hideReplay: true

To hide the button on one channel, use the x-hideReplay extension in the description.

Resources