Skip to content

Commit

Permalink
[feat] #6 swagger 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
kgy1008 committed May 15, 2024
1 parent f61a2a7 commit 29eb5e0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@ public interface MovieControllerSwagger {
}
)
ResponseEntity<MovieDetailRequestDto> getMovieDetail(@PathVariable Long movieId);

@Operation(summary = "영화 좋아요 클릭 API")
@ApiResponses(
value = {
@ApiResponse(responseCode = "201", description = "Like added successfully"),
@ApiResponse(responseCode = "404", description = "Movie not found")
})
ResponseEntity likeMovie(@PathVariable Long movieId);

}

0 comments on commit 29eb5e0

Please sign in to comment.