Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/openapi/builder/openapi-models.ts>SchemaObject

Alosaur - Deno web framework with many decorators
Go to Latest
interface SchemaObject
import { type SchemaObject } from "https://deno.land/x/alosaur@v0.31.1/openapi/builder/openapi-models.ts";

Properties

optional
nullable: boolean
optional
discriminator: DiscriminatorObject
optional
readOnly: boolean
optional
writeOnly: boolean
optional
xml: XmlObject
optional
externalDocs: ExternalDocumentationObject
optional
example: any
optional
examples: any[]
optional
deprecated: boolean
optional
type: string
optional
allOf: (SchemaObject | ReferenceObject)[]
optional
oneOf: (SchemaObject | ReferenceObject)[]
optional
anyOf: (SchemaObject | ReferenceObject)[]
optional
items: SchemaObject | ReferenceObject
optional
properties: { [propertyName: string]: SchemaObject | ReferenceObject; }
optional
additionalProperties: SchemaObject | ReferenceObject | boolean
optional
description: string
optional
format: string
optional
default: any
optional
title: string
optional
multipleOf: number
optional
maximum: number
optional
exclusiveMaximum: boolean
optional
minimum: number
optional
exclusiveMinimum: boolean
optional
maxLength: number
optional
minLength: number
optional
pattern: string
optional
maxItems: number
optional
minItems: number
optional
uniqueItems: boolean
optional
maxProperties: number
optional
minProperties: number
optional
required: string[]
optional
enum: any[]