fix(api): missing OpenAPI route tags

This commit is contained in:
Julian Tölle 2022-07-12 20:32:55 +02:00
parent 290cc3d046
commit d6af6f9cba
6 changed files with 10 additions and 3 deletions

View file

@ -1,4 +1,5 @@
import { Controller, Get, Query } from "@nestjs/common";
import { ApiTags } from "@nestjs/swagger";
import { AuthAccessToken } from "../auth/decorators/auth-access-token.decorator";
import { ReqUser } from "../auth/decorators/req-user.decorator";
import { User } from "../users/user.entity";
@ -11,6 +12,7 @@ import { TopTracksReportDto } from "./dto/top-tracks-report.dto";
import { ReportsService } from "./reports.service";
import { Timeframe } from "./timeframe.enum";
@ApiTags("reports")
@Controller("api/v1/reports")
export class ReportsController {
constructor(private readonly reportsService: ReportsService) {}