跳到内容

tsoa-next / @tsoa-next/runtime / Tags

函数: 标记( ) ​

ts
function Tags(...values): ClassDecorator & MethodDecorator;

定义如下: packages/runtime/src/decorators/tags.ts:6

添加数 OpenAPI 标记到控制器或动作。

参数 ​

values ​

...string[]

要附加一个或多个标签名称 。

回返 ​

ClassDecorator & MethodDecorator

贡献者

暂无相关贡献者

页面历史

暂无最近变更历史

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