Question · NestJS course · Module 11: Swagger and OpenAPI

The introspectComments Option

What does the introspectComments option do in the @nestjs/swagger CLI Plugin?

Answer options

  • Removes comments from the compiled code
  • Automatically generates comments
  • Uses JSDoc comments as descriptions in the Swagger documentation
  • Validates the correctness of comments

You can check the correct answer by solving this task in the CodeWorlds game.