跳到主要内容
版本:Next

ApiPropertyOptions

Hierarchy

Index

Properties

optional$ref

$ref?: string

optionaladditionalProperties

additionalProperties?: boolean | SchemaObject | ReferenceObject

optionalallOf

optionalanyOf

optionaldefault

default?: any

optionaldeprecated

deprecated?: boolean

optionaldescription

description?: string

optionaldiscriminator

discriminator?: DiscriminatorObject

optionalenum

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

optionalenumName

enumName?: string

optionalexample

example?: any

optionalexamples

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

optionalexclusiveMaximum

exclusiveMaximum?: boolean

optionalexclusiveMinimum

exclusiveMinimum?: boolean

optionalexternalDocs

optionalformat

format?: string

optionalisArray

isArray?: boolean

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

optionalname

name?: string

optionalnot

optionalnullable

nullable?: boolean

optionaloneOf

optionalpattern

pattern?: string

optionalpatternProperties

patternProperties?: any

optionalproperties

properties?: Record<string, SchemaObject | ReferenceObject>

optionalreadOnly

readOnly?: boolean

optionalrequired

required?: boolean

optionaltitle

title?: string

optionaltype

type?: string | Record<string, any> | Type<unknown> | [Type<any>]

optionaluniqueItems

uniqueItems?: boolean

optionalwriteOnly

writeOnly?: boolean

optionalxml

xml?: XmlObject