Skip to content

tsoa-next / @tsoa-next/runtime / StringValidator

Interface: StringValidator

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

String validation rules supported by runtime route metadata.

Properties

isString?

ts
optional isString?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxLength?

ts
optional maxLength?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minLength?

ts
optional minLength?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

pattern?

ts
optional pattern?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

title?

ts
optional title?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

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