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:
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 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.
Anything missing? Leave us feedback