Skip to content

tsoa-next / @tsoa-next/runtime / ArrayValidator

Interface: ArrayValidator ​

Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:475

Array validation rules supported by runtime route metadata.

Properties ​

isArray? ​

ts
optional isArray?: object;

Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:476

errorMsg? ​

ts
optional errorMsg?: string;

maxItems? ​

ts
optional maxItems?: object;

Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:478

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

minItems? ​

ts
optional minItems?: object;

Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:477

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

uniqueItems? ​

ts
optional uniqueItems?: object;

Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:479

errorMsg? ​

ts
optional errorMsg?: string;

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