Skip to content

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

Interface: DateTimeValidator

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

Date-time validation rules supported by runtime route metadata.

Properties

isDateTime?

ts
optional isDateTime?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxDate?

ts
optional maxDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

minDate?

ts
optional minDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

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