跳到内容

tsoa-next / tsoa-next / isDefaultForAdditionalPropertiesAllowed

函数: 是Default forAdditional properties Allowed ()

ts
function isDefaultForAdditionalPropertiesAllowed(test): test is undefined;

定义如下: packages/runtime/src/routeGeneration/tsoa-route.ts:6

回返 true 当模型计划依赖于 OpenAPI默认 additionalProperties 行为

参数

test

| boolean | PropertySchema | undefined

回返

test is undefined

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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