@@ -22,7 +22,7 @@ public class ArtistsController {
2222 private final ArtistService artistService ;
2323 private final ArtistEnrichService enrichService ;
2424
25- @ Operation (summary = "아티스트 저장" , description = "임의의 가수 300명 (or 팀)을 DB에 저장합니다." )
25+ @ Operation (summary = "아티스트 저장" , description = "임의의 가수(or 팀)을 DB에 저장합니다." )
2626 @ GetMapping ("/saved" )
2727 public RsData <Integer > saveArtist () {
2828 int saved = artistService .setArtist ();
@@ -79,4 +79,29 @@ public RsData<Void> delete(
7979 artistService .delete (id );
8080 return RsData .success ("아티스트 정보를 삭제했습니다." , null );
8181 }
82+
83+ @ Operation (summary = "아티스트 검색" , description = "아티스트 이름을 입력받아 검색합니다." )
84+ @ PostMapping ("/{id}" )
85+ public RsData <Void > search (
86+ @ PathVariable Long id
87+ ) {
88+ return RsData .success ("아티스트 검색에 성공했습니다." , null );
89+ }
90+
91+ @ Operation (summary = "아티스트 찜하기" , description = "id 에 해당하는 특정 아티스트를 찜합니다." )
92+ @ PostMapping ("/likes/{id}" )
93+ public void artistLikes (
94+ @ PathVariable Long id
95+ ) {}
96+
97+ @ Operation (summary = "아티스트 찜 해체" , description = "id 에 해당하는 아티스트에게 등록했던 찜을 해제합니다." )
98+ @ DeleteMapping ("/likes/{id}" )
99+ public void deleteArtistLikes (
100+ @ PathVariable Long id
101+ ) {}
102+
103+ @ Operation (summary = "개인화된 공연 리스트 생성" , description = "유저가 찜한 아티스트를 기반으로 공연 리스트를 생성합니다." )
104+ @ PostMapping ("/list" )
105+ public void concertList () {}
106+
82107}
0 commit comments