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

Versioned NestJS Controller

Arrange the elements of a versioned controller declaration in the correct order:

Items to put in order

  • path: 'legiones', version: '1' })
  • @Controller({
  • export class LegionV1Controller {}

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