">
Skip to content

tsoa-next / tsoa-next / Swagger / Schema31

Interface: Schema31 ​

Defined in: packages/runtime/src/swagger/swagger.ts:375

Extends ​

  • Omit<Schema3, | "items" | "properties" | "additionalProperties" | "discriminator" | "anyOf" | "allOf" | "exclusiveMaximum" | "exclusiveMinimum">

Indexable ​

ts
[key: `x-${string}`]: unknown

Properties ​

$ref? ​

ts
optional $ref?: string;

Defined in: packages/runtime/src/swagger/swagger.ts:341

Inherited from ​

ts
Omit.$ref

additionalProperties? ​

ts
optional additionalProperties?: boolean | Schema31;

Defined in: packages/runtime/src/swagger/swagger.ts:381


allOf? ​

ts
optional allOf?: Schema31[];

Defined in: packages/runtime/src/swagger/swagger.ts:387


anyOf? ​

ts
optional anyOf?: Schema31[];

Defined in: packages/runtime/src/swagger/swagger.ts:388


contains? ​

ts
optional contains?: Schema31;

Defined in: packages/runtime/src/swagger/swagger.ts:385


default? ​

ts
optional default?: unknown;

Defined in: packages/runtime/src/swagger/swagger.ts:345

Inherited from ​

ts
Omit.default

deprecated? ​

ts
optional deprecated?: boolean;

Defined in: packages/runtime/src/swagger/swagger.ts:406

Inherited from ​

Schema3.deprecated


description? ​

ts
optional description?: string;

Defined in: packages/runtime/src/swagger/swagger.ts:343

Inherited from ​

ts
Omit.description

discriminator? ​

ts
optional discriminator?: object;

Defined in: packages/runtime/src/swagger/swagger.ts:393

mapping? ​

ts
optional mapping?: Record<string, string>;

propertyName ​

ts
propertyName: string;

enum? ​

ts
optional enum?: (string | number | boolean | null)[];

Defined in: packages/runtime/src/swagger/swagger.ts:357

Inherited from ​

ts
Omit.enum

example? ​

ts
optional example?: unknown;

Defined in: packages/runtime/src/swagger/swagger.ts:369

Inherited from ​

ts
Omit.example

examples? ​

ts
optional examples?: unknown[];

Defined in: packages/runtime/src/swagger/swagger.ts:376


exclusiveMaximum? ​

ts
optional exclusiveMaximum?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:377


exclusiveMinimum? ​

ts
optional exclusiveMinimum?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:378


externalDocs? ​

ts
optional externalDocs?: ExternalDocs;

Defined in: packages/runtime/src/swagger/swagger.ts:368

Inherited from ​

ts
Omit.externalDocs

format? ​

ts
optional format?: DataFormat;

Defined in: packages/runtime/src/swagger/swagger.ts:340

Inherited from ​

ts
Omit.format

items? ​

ts
optional items?: false | Schema31;

Defined in: packages/runtime/src/swagger/swagger.ts:383


maximum? ​

ts
optional maximum?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:347

Inherited from ​

ts
Omit.maximum

maxItems? ​

ts
optional maxItems?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:352

Inherited from ​

ts
Omit.maxItems

maxLength? ​

ts
optional maxLength?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:349

Inherited from ​

ts
Omit.maxLength

maxProperties? ​

ts
optional maxProperties?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:355

Inherited from ​

ts
Omit.maxProperties

minimum? ​

ts
optional minimum?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:348

Inherited from ​

ts
Omit.minimum

minItems? ​

ts
optional minItems?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:353

Inherited from ​

ts
Omit.minItems

minLength? ​

ts
optional minLength?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:350

Inherited from ​

ts
Omit.minLength

minProperties? ​

ts
optional minProperties?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:356

Inherited from ​

ts
Omit.minProperties

multipleOf? ​

ts
optional multipleOf?: number;

Defined in: packages/runtime/src/swagger/swagger.ts:346

Inherited from ​

ts
Omit.multipleOf

not? ​

ts
optional not?: Schema31;

Defined in: packages/runtime/src/swagger/swagger.ts:390


nullable? ​

ts
optional nullable?: boolean;

Defined in: packages/runtime/src/swagger/swagger.ts:401

Inherited from ​

Schema3.nullable


oneOf? ​

ts
optional oneOf?: Schema31[];

Defined in: packages/runtime/src/swagger/swagger.ts:389


pattern? ​

ts
optional pattern?: string;

Defined in: packages/runtime/src/swagger/swagger.ts:351

Inherited from ​

ts
Omit.pattern

prefixItems? ​

ts
optional prefixItems?: Schema31[];

Defined in: packages/runtime/src/swagger/swagger.ts:384


properties? ​

ts
optional properties?: object;

Defined in: packages/runtime/src/swagger/swagger.ts:380

Index Signature ​

ts
[key: string]: Schema31

propertyNames? ​

ts
optional propertyNames?: Schema31;

Defined in: packages/runtime/src/swagger/swagger.ts:391


readOnly? ​

ts
optional readOnly?: boolean;

Defined in: packages/runtime/src/swagger/swagger.ts:366

Inherited from ​

ts
Omit.readOnly

required? ​

ts
optional required?: string[];

Defined in: packages/runtime/src/swagger/swagger.ts:370

Inherited from ​

ts
Omit.required

title? ​

ts
optional title?: string;

Defined in: packages/runtime/src/swagger/swagger.ts:342

Inherited from ​

ts
Omit.title

type? ​

ts
optional type?: DataType;

Defined in: packages/runtime/src/swagger/swagger.ts:400

Inherited from ​

Schema3.type


uniqueItems? ​

ts
optional uniqueItems?: boolean;

Defined in: packages/runtime/src/swagger/swagger.ts:354

Inherited from ​

ts
Omit.uniqueItems

xml? ​

ts
optional xml?: XML;

Defined in: packages/runtime/src/swagger/swagger.ts:367

Inherited from ​

ts
Omit.xml

TypeScript-first OpenAPI generation, route generation, and runtime validation.