88import com .somemore .review .dto .response .ReviewResponseDto ;
99import com .somemore .review .dto .response .ReviewWithNicknameResponseDto ;
1010import com .somemore .review .usecase .ReviewQueryUseCase ;
11+ import io .swagger .v3 .oas .annotations .Operation ;
1112import io .swagger .v3 .oas .annotations .tags .Tag ;
1213import java .util .UUID ;
1314import lombok .RequiredArgsConstructor ;
@@ -28,6 +29,7 @@ public class ReviewQueryApiController {
2829
2930 private final ReviewQueryUseCase reviewQueryUseCase ;
3031
32+ @ Operation (summary = "리뷰 단건 조회" , description = "리뷰 ID를 사용하여 단건 리뷰 조회" )
3133 @ GetMapping ("/review/{id}" )
3234 public ApiResponse <ReviewResponseDto > getById (@ PathVariable Long id ) {
3335
@@ -38,6 +40,7 @@ public ApiResponse<ReviewResponseDto> getById(@PathVariable Long id) {
3840 );
3941 }
4042
43+ @ Operation (summary = "기관별 리뷰 조회" , description = "기관 ID를 사용하여 리뷰 조회" )
4144 @ GetMapping ("/reviews/center/{centerId}" )
4245 public ApiResponse <Page <ReviewWithNicknameResponseDto >> getReviewsByCenterId (
4346 @ PathVariable UUID centerId ,
@@ -56,6 +59,7 @@ public ApiResponse<Page<ReviewWithNicknameResponseDto>> getReviewsByCenterId(
5659 );
5760 }
5861
62+ @ Operation (summary = "봉사자 리뷰 조회" , description = "봉사자 ID를 사용하여 리뷰 조회" )
5963 @ GetMapping ("/reviews/volunteer/{volunteerId}" )
6064 public ApiResponse <Page <ReviewWithNicknameResponseDto >> getReviewsByVolunteerId (
6165 @ PathVariable UUID volunteerId ,
0 commit comments