Skip to content

tsoa-next / @tsoa-next/runtime / DateTimeValidator

Interface: DateTimeValidator ​

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

Date-time validation rules supported by runtime route metadata.

Properties ​

isDateTime? ​

ts
optional isDateTime?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

maxDate? ​

ts
optional maxDate?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: string;

minDate? ​

ts
optional minDate?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: string;

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