Question · NestJS course · Module 11: Swagger and OpenAPI
The @ApiCreatedResponse Decorator
Which Swagger decorator corresponds to HTTP status code 201 (Created)?
Answer options
- @ApiOkResponse()
- @ApiCreatedResponse()
- @ApiNewResponse()
- @ApiSuccessResponse()
You can check the correct answer by solving this task in the CodeWorlds game.