Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Last updated

Specification extensions

While the OpenAPI specification tries to accommodate most use cases, additional data can be used to extend the specification and augment its functionality. These additional properties are known as specification extensions (previously called "vendor extensions"). The extension properties are implemented as patterned fields that start with thex- naming convention.

Redocly has implemented a number of specification extensions to help you enrich your API documentation and adapt your OpenAPI definitions to different scenarios.

The specification extensions are grouped according to the element(s) of the OpenAPI specification that they extend. Specification extensions can only be used in the sections of your OpenAPI definition that support them - for example, you can't use an extension that modifies theinfo object inside thetag object.

Select the name of a specification extension in the list to read more on how to use it.

Supported specification extensions by object

OAS root/Swagger object

Extend the OpenAPIRoot Object.

Info object

Extend the OpenAPIInfo Object.

Tag object

Extend the OpenAPITag Object.

Operation object

Extend the OpenAPIOperation Object.

Parameter object

Extend the OpenAPIParameter Object.

Response object

Extend the OpenAPIResponse Object.

Schema object

Extend the OpenAPISchema Object.

Security schemes object

Extend the OpenAPISecurity Scheme Object.

Tip

Learn about how to use specification extensions for other purposes such ashiding an API path, operation, or schema property.

Was this helpful?

 
 

[8]ページ先頭

©2009-2025 Movatter.jp