Skip to content

tsoa-next / tsoa-next / FloatValidator

Interface: FloatValidator

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

Floating-point validation rules supported by runtime route metadata.

Properties

exclusiveMaximum?

ts
optional exclusiveMaximum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

exclusiveMinimum?

ts
optional exclusiveMinimum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

isDouble?

ts
optional isDouble?: object;

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

errorMsg?

ts
optional errorMsg?: string;

isFloat?

ts
optional isFloat?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maximum?

ts
optional maximum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minimum?

ts
optional minimum?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

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