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

@ApiParam and @ApiQuery in a Controller

Add @ApiParam and @ApiQuery decorators to the controller endpoints.

Task

Add @ApiQuery to the search endpoint and @ApiParam to the endpoint with the :id parameter