Skip to content

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

Interface: ArrayValidator

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

Array validation rules supported by runtime route metadata.

Properties

isArray?

ts
optional isArray?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxItems?

ts
optional maxItems?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minItems?

ts
optional minItems?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

uniqueItems?

ts
optional uniqueItems?: object;

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

errorMsg?

ts
optional errorMsg?: string;

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