OpenApiOperation
The interface publier.openapi.OpenApiOperation.
Overview
interface OpenApiOperation
Properties
callbacks
callbacks?: Record<string, Record<string, OpenApiPathItem>>
OpenAPI 3.0+ callbacks — out-of-band requests the service will make in response to this operation.
deprecated
deprecated?: boolean
description
description?: string
operationId
operationId?: string
parameters
parameters?: OpenApiParameter[]
requestBody
requestBody?: OpenApiRequestBody
responses
responses: Record<string, OpenApiResponse>
security
security?: Record<string, string[]>[]
summary
summary?: string
tags
tags?: string[]
x-codeSamples
x-codeSamples?: OpenApiCodeSample[]