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

addBearerAuth Configuration

Arrange the elements of the addBearerAuth configuration in the correct order:

Items to put in order

  • 'JWT-auth')
  • .addBearerAuth(
  • { type: 'http', scheme: 'bearer', bearerFormat: 'JWT' },

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