wip: Add artist api doc

This commit is contained in:
Zoe Roux
2022-10-25 12:01:42 +09:00
committed by Bluub
parent 7bcdc4ff22
commit 5cef277f40
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -18,8 +18,10 @@ import { CreateArtistDto } from './dto/create-artist.dto';
import { Request } from 'express';
import { ArtistService } from './artist.service';
import { Prisma, Artist } from '@prisma/client';
import { ApiTags } from '@nestjs/swagger';
@Controller('artist')
@ApiTags('artist')
export class ArtistController {
constructor(private readonly service: ArtistService) {}
+2
View File
@@ -21,8 +21,10 @@ import { SongService } from './song.service';
import { Request } from 'express';
import { Prisma, Song } from '@prisma/client';
import { createReadStream } from 'fs';
import { ApiTags } from '@nestjs/swagger';
@Controller('song')
@ApiTags('song')
export class SongController {
constructor(private readonly songService: SongService) {}