Question · NestJS course · Module 11: Swagger and OpenAPI

The DocumentBuilder Class

Which class in @nestjs/swagger is used to build the API documentation configuration?

Answer options

  • SwaggerConfig
  • DocumentBuilder
  • ApiDocumentFactory
  • OpenApiBuilder

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