跳到内容

tsoa-next / @tsoa-next/runtime / ArrayValidator

接口: 矩阵变量

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

运行时路由元数据支持的矩阵验证规则 。

属性

isArray?

ts
optional isArray?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxItems?

ts
optional maxItems?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minItems?

ts
optional minItems?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

uniqueItems?

ts
optional uniqueItems?: object;

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

errorMsg?

ts
optional errorMsg?: string;

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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