Skip to content

tsoa-next / @tsoa-next/runtime / DateValidator

Interface: DateValidator ​

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

Date-only validation rules supported by runtime route metadata.

Properties ​

isDate? ​

ts
optional isDate?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

maxDate? ​

ts
optional maxDate?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: string;

minDate? ​

ts
optional minDate?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: string;

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