Last updated

showExtensions

The showExtensions option shows specification extensions ('x-' fields). Extensions used by Redoc are ignored. The value can be boolean or an array of strings with names of extensions to display. When used as boolean and set to true, all specification extensions are shown.

Options

OptionTypeDescription
showExtensionsstring[] | booleanSpecify which specification extensions ('x-' fields) to display, or use true to show them all. Default value is false which does not display any extensions.

Examples

The following example show all specification extensions:

redocly.yaml
openapi:
  showExtensions: true
  • openapi - Learn more about using openapi configuration.

Resources