Skip to content

tsoa-next / tsoa-next / DateValidator

Interface: DateValidator

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

Date-only validation rules supported by runtime route metadata.

Properties

isDate?

ts
optional isDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxDate?

ts
optional maxDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

minDate?

ts
optional minDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

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