Put in order · NestJS course · Module 11: Swagger and OpenAPI

SwaggerModule.setup with Options

Arrange the SwaggerModule.setup() arguments in the correct order:

Items to put in order

  • 'api/docs',
  • { customSiteTitle: '...' }
  • document,
  • app,

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