Usex-displayName to add a custom name for a tag. When defined, this custom name is used instead of the default name from thename value in the navigation sidebar and in section headings. Add it to thetag OpenAPI object.
| Field Name | Type | Description |
|---|---|---|
| x-displayName | string | Defines the text that is used for this tag in the sidebar and in section headings. |
openapi:'3.0'info:...tags: -name:sample-123 description:Example description x-displayName:Custom tag name - trait tag
Related options
Usex-traitTag andx-tagGroups to further customize tags.