Skip to content

Commit

Permalink
추가: 멤버 작성 가능 리뷰 조회 API에 스웨거 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sujjangOvO committed Sep 26, 2023
1 parent ec46beb commit 091e19b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public MemberController(MemberService memberService) {
}

@Tag(name = "member")
@Operation(summary = "[토큰] 작성 가능 리뷰 조회", description = "[토큰 필요] 작성 가능 리뷰 조회 API", responses = {
@ApiResponse(responseCode = "200", description = "성공적으로 작성 가능한 리뷰 목록을 가져온 상태"),
@ApiResponse(responseCode = "401", description = "토큰을 넣지 않아서 발생하는 에러")
})
@GetMapping("/reviews")
@ResponseStatus(OK)
public KurlyResponse<List<ReviewResponse.Reviewable>> getReviewableOrdersOnMyPage(@AuthenticationPrincipal User user) {
Expand Down

0 comments on commit 091e19b

Please sign in to comment.