The following extensions are available on DeveloperHub:
x-tagGroups
x-tagGroups serves to group operations within the index, effectively establishing an additional hierarchy. This feature is activated exclusively when the index is configured to be collapsible.
In OpenAPI, tag groups can be defined in the following manner:
openapi'3.0'info...tagsnameLionnameCheetahnameDolphinnameOctopusx-tagGroupsnameFeline tagsLionCheetahnameSea tagsDolphinOctopusx-enum-varnames
x-enum-varnames gives a secondary name for an enum.
Enum var names can be defined as such in OpenAPI:
Animal typeinteger enum3321 x-enum-varnamesDogCatVariables
In addition to utilizing variables throughout the API references, you can also leverage these variables in the following ways:
%_.project.base_path%for project base path.%_.version.slug%for version slug.%_.section.slug%for API reference slug.
These variables are particularly valuable for creating links within markdown descriptions.
Was this page helpful?