跳到内容

tsoa-next / tsoa-next / StringValidator

接口: 字符串变量

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

运行时路由元数据支持字符串验证规则.

属性

isString?

ts
optional isString?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxLength?

ts
optional maxLength?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

minLength?

ts
optional minLength?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: number;

pattern?

ts
optional pattern?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

title?

ts
optional title?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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