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.
| Option | Type | Description |
|---|---|---|
| hidePropertiesPrefix | boolean | Hide the parent name prefix on nested schema properties. Default: false. |
The following example hides the parent names:
redocly.yaml
openapi:
hidePropertiesPrefix: true- OpenAPI configuration - All the options you can set under
openapi - OpenAPI Specification - The official standard for API descriptions
- OpenAPI visual reference - A visual map of every part of an OpenAPI description
- Configuration options - All the other options for your project