Title
Create new category
Edit page index title
Edit category
Edit link
OpenAPI Extensions
The following extensions are available on DeveloperHub.
x-tagGroups
x-tagGroups groups operations in the index, creating one further hierarchy. This feature is only enabled if the index is set to be collapsible.
Tag groups can be defined as such in OpenAPI:
xxxxxxxxxxopenapi: '3.0'info: ...tags: - name: Lion - name: Cheetah - name: Dolphin - name: Octopusx-tagGroups: - name: Feline tags: - Lion - Cheetah - name: Sea tags: - Dolphin - Octopusx-enum-varnames
x-enum-varnames gives a secondary name for an enum.
Enum var names can be defined as such in OpenAPI:
xxxxxxxxxxAnimal: type: integer enum: - 33 - 21 x-enum-varnames: - Dog - CatVariables
In addition to using variables throughout the API references, those variables can also be used:
%_.project.base_path%for project base path.%_.version.slug%for version slug.%_.section.slug%for API reference slug.
Those variables are specifically useful to construct links inside markdown descriptions.
x-labels
x-labels adds one or more labels to a schema property's description.

Example showing "New" badge on format
Labels can be defined as such in OpenAPI:
xxxxxxxxxx/page: get: parameters: - name: page_slug description: Page Slug. schema: type: string in: query required: true - name: format description: Format type schema: x-labels: - text: New type: "badge badge-success mr-1" default: darkdown enum: - darkdown - markdown - html - text type: string in: query required: falseWhen x-labels is set, each label is placed in the description, unstyled, using the text provided. Each label is given the CSS classes label and the value of type. This can be used to add specific labels with specific colours, like badges on a description.
Need help? Visit our community forums or contact us.