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

OpenApiSchema

The interface publier.openapi.OpenApiSchema.

Overview

interface OpenApiSchema

Properties

$ref

$ref?: string

additionalProperties

additionalProperties?: boolean | OpenApiSchema

allOf

allOf?: OpenApiSchema[]

anyOf

anyOf?: OpenApiSchema[]

default

default?: unknown

deprecated

deprecated?: boolean

description

description?: string

enum

enum?: unknown[]

example

example?: unknown

format

format?: string

items

items?: OpenApiSchema

maximum

maximum?: number

maxLength

maxLength?: number

minimum

minimum?: number

minLength

minLength?: number

nullable

nullable?: boolean

oneOf

oneOf?: OpenApiSchema[]

pattern

pattern?: string

properties

properties?: Record<string, OpenApiSchema>

readOnly

readOnly?: boolean

required

required?: string[]

title

title?: string

type

type?: string

writeOnly

writeOnly?: boolean