Skip to content
Last updated

hidePropertiesPrefix

In a schema, nested properties display with their parent names as a prefix, for example parent.child. The hidePropertiesPrefix option removes that prefix, so each nested property shows its own name only.

Options

OptionTypeDescription
hidePropertiesPrefixbooleanHide the parent name prefix on nested schema properties. Default: false.

Examples

The following example hides the parent names:

redocly.yaml
openapi:
  hidePropertiesPrefix: true

Resources