تخطي إلى المحتوى

tsoa-next / tsoa-next / IntegerValidator

Interface: IntegerValidator ​

محددة في: packages/runtime/src/routeGeneration/templateHelpers.ts:1300

Integer validation rules supported by runtime route metadata.

الممتلكات ​

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;

Contributors

No contributors

Changelog

No recent changes

توليد OpenAPI وتوليد المسارات والتحقق وقت التشغيل مع اعتماد TypeScript أولاً.