跳到主要内容
版本:Next

SchemaObject

Index

Properties

optionaladditionalProperties

additionalProperties?: boolean | SchemaObject | ReferenceObject

optionalallOf

optionalanyOf

optionaldefault

default?: any

optionaldeprecated

deprecated?: boolean

optionaldescription

description?: string

optionaldiscriminator

discriminator?: DiscriminatorObject

optionalenum

enum?: any[]

optionalexample

example?: any

optionalexamples

examples?: any[] | Record<string, any>

optionalexclusiveMaximum

exclusiveMaximum?: boolean

optionalexclusiveMinimum

exclusiveMinimum?: boolean

optionalexternalDocs

optionalformat

format?: string

optionalitems

optionalmaxItems

maxItems?: number

optionalmaxLength

maxLength?: number

optionalmaxProperties

maxProperties?: number

optionalmaximum

maximum?: number

optionalminItems

minItems?: number

optionalminLength

minLength?: number

optionalminProperties

minProperties?: number

optionalminimum

minimum?: number

optionalmultipleOf

multipleOf?: number

optionalnot

optionalnullable

nullable?: boolean

optionaloneOf

optionalpattern

pattern?: string

optionalpatternProperties

patternProperties?: any

optionalproperties

properties?: Record<string, SchemaObject | ReferenceObject>

optionalreadOnly

readOnly?: boolean

optionalrequired

required?: string[]

optionaltitle

title?: string

optionaltype

type?: string | new (...args: any[]) => any | () => new (...args: any[]) => any

optionaluniqueItems

uniqueItems?: boolean

optionalwriteOnly

writeOnly?: boolean

optionalxml

xml?: XmlObject