Question · NestJS course · Module 11: Swagger and OpenAPI
URI Versioning in NestJS
What does the endpoint URL look like with URI Versioning using version 1?
Answer options
- /legiones?version=1
- /v1/legiones
- /legiones (header X-Version: 1)
- /legiones/v1
You can check the correct answer by solving this task in the CodeWorlds game.