NestJS · Middle · Question 52 of 75
What does the @nestjs/swagger CLI plugin do?
- ✓Correct answer: Adds Swagger metadata to DTOs and responses at compile time based on TypeScript types, so you write fewer
@ApiProperty()decorators - 2Runs Swagger UI on a separate server
- 3Generates a front-end client
Explanation
It also can read JSDoc comments as descriptions. Enable it in nest-cli.json.