OpenAPI Extensions

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:

YAML
Copy

x-enum-varnames

x-enum-varnames gives a secondary name for an enum.

Enum var names can be defined as such in OpenAPI:

YAML
Copy

Variables

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.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated