Question · NestJS course · Module 11: Swagger and OpenAPI

@ApiNotFoundResponse Status Code

What HTTP status code does the @ApiNotFoundResponse() decorator represent?

Answer options

  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found

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