tsoa-next / @tsoa-next/runtime / Produces
函数: 生产( )
ts
function Produces(value): MethodDecorator & ClassDecorator;定义如下: packages/runtime/src/decorators/response.ts:48
覆盖控制器或单个动作上的响应介质类型。
参数
value
string
例如反应媒体类型 application/json。 。 。 。 见 Swagger media-type documentation。 。 。 。
回返
MethodDecorator & ClassDecorator
贡献者
暂无相关贡献者
页面历史
暂无最近变更历史
