Skip to content
✨ Publier v1 is live — a polished docs platform built for the open web.
On this page

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[]