跳到内容

tsoa-next / tsoa-next / IntegerValidator

接口:整数变量 ​

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

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

属性 ​

exclusiveMaximum? ​

ts
optional exclusiveMaximum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

exclusiveMinimum? ​

ts
optional exclusiveMinimum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

isInt? ​

ts
optional isInt?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

isLong? ​

ts
optional isLong?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

maximum? ​

ts
optional maximum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

minimum? ​

ts
optional minimum?: object;

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

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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