mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
fix(api): missing OpenAPI route tags
This commit is contained in:
parent
290cc3d046
commit
d6af6f9cba
6 changed files with 10 additions and 3 deletions
|
|
@ -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) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue