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

OpenApiSpec

The interface publier.openapi.OpenApiSpec.

Overview

interface OpenApiSpec

Properties

components

components?: OpenApiComponents

info

info: OpenApiInfo

openapi

openapi: string

paths

paths: Record<string, OpenApiPathItem>

security

security?: Record<string, string[]>[]

servers

servers?: OpenApiServer[]

tags

tags?: OpenApiTag[]

webhooks

webhooks?: Record<string, OpenApiPathItem>

OpenAPI 3.1 webhooks — server-to-client push endpoints, keyed by name. Shape-identical to path items but not part of the HTTP routing table.