Saltar al contenido

tsoa-next / @tsoa-next/runtime / IntegerValidator

Interfaz: IntegerValidator ​

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1300

Reglas de validación de enteros compatibles con metadatos de ruta de tiempo de ejecución.

Propiedades ​

exclusiveMaximum? ​

ts
optional exclusiveMaximum?: object;

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1306

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

exclusiveMinimum? ​

ts
optional exclusiveMinimum?: object;

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1305

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

isInt? ​

ts
optional isInt?: object;

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1301

errorMsg? ​

ts
optional errorMsg?: string;

isLong? ​

ts
optional isLong?: object;

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1302

errorMsg? ​

ts
optional errorMsg?: string;

maximum? ​

ts
optional maximum?: object;

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1304

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

minimum? ​

ts
optional minimum?: object;

Definido en: packages/runtime/src/routeGeneration/templateHelpers.ts:1303

errorMsg? ​

ts
optional errorMsg?: string;

value ​

ts
value: number;

Contributors

No contributors

Changelog

No recent changes

Generación de OpenAPI, generación de rutas y validación en tiempo de ejecución con prioridad en TypeScript.