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
Option | Type | Description |
---|---|---|
showExtensions | string[] | boolean | Specify 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
Related options
- openapi - Learn more about using
openapi
configuration.
Resources
- Refer to the full list of specification extensions supported in Redoc.
- OpenAPI Specification