跳到内容

tsoa-next / tsoa-next / DateTimeValidator

接口: 日期时间变量

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

由运行时路由元数据支持的日期-时间验证规则.

属性

isDateTime?

ts
optional isDateTime?: object;

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

errorMsg?

ts
optional errorMsg?: string;

maxDate?

ts
optional maxDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

minDate?

ts
optional minDate?: object;

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

errorMsg?

ts
optional errorMsg?: string;

value

ts
value: string;

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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