Skip to content

Commit

Permalink
chore(docs): improve description of Consumes decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
mrl5 authored and WoH committed Nov 28, 2021
1 parent a57d5e9 commit 6a289a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime/src/decorators/parameter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ export function FormField(name?: string): any {
}

/**
* Overrides the default media type of request.
* Overrides the default media type of request body.
* Can be used on specific method.
* Can't be used on controller level.
*
* @link https://swagger.io/docs/specification/media-types/
* @link https://swagger.io/docs/specification/describing-request-body/
*/
export function Consumes(value: string): Function {
return () => {
Expand Down

0 comments on commit 6a289a7

Please sign in to comment.