tsoa-next / @tsoa-next/runtime / Consumes
函数: 消费( )
ts
function Consumes(value): MethodDecorator;定义如下: packages/runtime/src/decorators/parameter.ts:109
覆盖用于记录单一行动请求机构的媒体类型。
参数
value
string
例如请求正体介质类型 application/json。 。 。 。 见 Swagger request-body documentation。 。 。 。
回返
MethodDecorator
贡献者
暂无相关贡献者
页面历史
暂无最近变更历史
