Skip to content

tsoa-next / tsoa-next / IntegerValidator

Interface: IntegerValidator

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

Integer validation rules supported by runtime route metadata.

Properties

exclusiveMaximum?

ts
optional exclusiveMaximum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

exclusiveMinimum?

ts
optional exclusiveMinimum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

isInt?

ts
optional isInt?: object;

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

errorMsg?

ts
optional errorMsg?: string;

isLong?

ts
optional isLong?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maximum?

ts
optional maximum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minimum?

ts
optional minimum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

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