Skip to main content

Interface: IOpenApiPathMethod

An OpenAPI Operation Object.

See​

https://spec.openapis.org/oas/latest.html#operation-object

Properties​

tags?​

optional tags?: string[]

Tags for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


summary?​

optional summary?: string

A short summary of the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


description?​

optional description?: string

A verbose description of the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


externalDocs?​

optional externalDocs?: IOpenApiExternalDocumentation

Additional external documentation for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


operationId?​

optional operationId?: string

A unique identifier for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


parameters?​

optional parameters?: (IOpenApiReference | IOpenApiParameter)[]

Parameters for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


requestBody?​

optional requestBody?: IOpenApiReference | IOpenApiRequestBody

The request body for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


responses​

responses: IOpenApiResponses

The responses for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


callbacks?​

optional callbacks?: object

Callbacks related to the operation.

Index Signature​

[id: string]: unknown

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


deprecated?​

optional deprecated?: boolean

Whether the operation is deprecated.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


security?​

optional security?: IOpenApiSecurityRequirement[]

Security requirements for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7


servers?​

optional servers?: IOpenApiServer[]

Alternative servers for the operation.

See​

https://spec.openapis.org/oas/latest.html#fixed-fields-7