Skip to content

tsoa-next / tsoa-next / FloatValidator

Interface: FloatValidator ​

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

Floating-point validation rules supported by runtime route metadata.

Properties ​

exclusiveMaximum? ​

ts
optional exclusiveMaximum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

exclusiveMinimum? ​

ts
optional exclusiveMinimum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

isDouble? ​

ts
optional isDouble?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

isFloat? ​

ts
optional isFloat?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

maximum? ​

ts
optional maximum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

minimum? ​

ts
optional minimum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

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