Skip to content

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

Interface: DateValidator

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

Date-only validation rules supported by runtime route metadata.

Properties

isDate?

ts
optional isDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxDate?

ts
optional maxDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

minDate?

ts
optional minDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

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