Skip to main content

Overview

The OpenAPI plugin and theme recognize several vendor extensions for customizing the generated documentation. Supported extensions include:

ExtensionPurpose
x-codeSamplesProvide language specific code snippets for operations. These are displayed in the API Explorer panel.
x-tagGroupsGroup tags in the sidebar navigation.
x-tagsAssign tags to schema objects so they appear with tagged operations when groupPathsBy: tag is enabled.
x-positionExplicit ordering of operations in the generated sidebar.
x-logo / x-dark-logoDisplay light and dark logos on the introduction page.
x-deprecated-descriptionCustom text shown alongside deprecated operations.
x-webhooksDefine webhook events under the x-webhooks key.
x-displayNameOverride tag names used for grouping.
x-enumDescription / x-enumDescriptionsDocument individual enum values.

Circular references flagged with x-circular-ref or detected automatically are serialized as circular(<title>). Other ReDoc extensions such as x-code-samples (deprecated), x-examples, x-ignoredHeaderParameters, x-nullable, x-servers, x-traitTag, x-additionalPropertiesName, and x-explicitMappingOnly are detected but ignored when extracting custom extensions.