Coding task · NestJS course · Module 11: Swagger and OpenAPI

HTTP Response Decorators

Add specialized response decorators to the tribute controller.

Task

Add @ApiOkResponse, @ApiCreatedResponse, @ApiNotFoundResponse, and @ApiBadRequestResponse to the endpoints