Question · NestJS course · Module 11: Swagger and OpenAPI

The include Option in createDocument

What is the purpose of the include option in SwaggerModule.createDocument()?

Answer options

  • Includes only selected modules in the documentation
  • Adds CSS files to Swagger UI
  • Imports external OpenAPI specifications
  • Enables additional decorators

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