tsoa-next / tsoa-next / ArrayValidator
Interface: ArrayValidator
Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:1354
Array validation rules supported by runtime route metadata.
Properties
isArray?
ts
optional isArray?: object;Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:1355
errorMsg?
ts
optional errorMsg?: string;maxItems?
ts
optional maxItems?: object;Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:1357
errorMsg?
ts
optional errorMsg?: string;value
ts
value: number;minItems?
ts
optional minItems?: object;Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:1356
errorMsg?
ts
optional errorMsg?: string;value
ts
value: number;uniqueItems?
ts
optional uniqueItems?: object;Defined in: packages/runtime/src/routeGeneration/templateHelpers.ts:1358
errorMsg?
ts
optional errorMsg?: string;