Extensions reference
The complete reference of OpenAPI extensions supported by GitBook.
Last updated
Was this helpful?
The complete reference of OpenAPI extensions supported by GitBook.
Last updated
Was this helpful?
Was this helpful?
You can enhance your OpenAPI specification using extensions—custom fields that start with the x-
prefix. These extensions let you add extra information and tailor your API documentation to suit different needs.
GitBook allows you to adjust how your API looks and works on your published site through a range of different extensions you can add to your OpenAPI spec.
Head to our guides section to learn more about using OpenAPI extensions to configure your documentation.
Code sample label, for example Node
or Python2.7
, optional, lang
is used by default