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

Elements of Complete API Documentation

Order the elements of complete API documentation from configuration to presentation:

Items to put in order

  • DocumentBuilder with title, version, tags, auth
  • DTOs with @ApiProperty and enum
  • Swagger UI available at /api/docs
  • Controllers with @ApiTags, @ApiOperation, @ApiResponse

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