Skip to content

Commit d514396

Browse files
Merge pull request #1154 from yashmurty/yash/swagger-decorators
docs(readme): Add missing api response decorators
2 parents 49ac57a + f7e6803 commit d514396

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/recipes/swagger.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,9 @@ Nest provides a set of short-hand **API response** decorators that inherit from
555555

556556
- `@ApiOkResponse()`
557557
- `@ApiCreatedResponse()`
558+
- `@ApiAcceptedResponse()`
559+
- `@ApiNoContentResponse()`
560+
- `@ApiMovedPermanentlyResponse()`
558561
- `@ApiBadRequestResponse()`
559562
- `@ApiUnauthorizedResponse()`
560563
- `@ApiNotFoundResponse()`
@@ -563,6 +566,7 @@ Nest provides a set of short-hand **API response** decorators that inherit from
563566
- `@ApiNotAcceptableResponse()`
564567
- `@ApiRequestTimeoutResponse()`
565568
- `@ApiConflictResponse()`
569+
- `@ApiTooManyRequestsResponse()`
566570
- `@ApiGoneResponse()`
567571
- `@ApiPayloadTooLargeResponse()`
568572
- `@ApiUnsupportedMediaTypeResponse()`

0 commit comments

Comments
 (0)