Question · NestJS course · Module 11: Swagger and OpenAPI

The @ApiOperation Decorator

What are the main properties accepted by the @ApiOperation() decorator?

Answer options

  • summary and description
  • url and method
  • host and port
  • controller and service

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