跳到内容

tsoa-next / tsoa-next / FloatValidator

界面:浮点数

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1310

由运行时路由元数据支持的浮点验证规则.

属性

exclusiveMaximum?

ts
optional exclusiveMaximum?: object;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1316

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

exclusiveMinimum?

ts
optional exclusiveMinimum?: object;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1315

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

isDouble?

ts
optional isDouble?: object;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1312

errorMsg?

ts
optional errorMsg?: string;

isFloat?

ts
optional isFloat?: object;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1311

errorMsg?

ts
optional errorMsg?: string;

maximum?

ts
optional maximum?: object;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1314

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minimum?

ts
optional minimum?: object;

定义如下: packages/runtime/src/routeGeneration/templateHelpers.ts:1313

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

以 TypeScript 为先的 OpenAPI 生成、路由生成与运行时验证。