-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BE] feat: 내가 받은 리뷰 보기 기능 구현 #109
Changes from 1 commit
f522fd7
85ddfd2
a0ab043
b08db88
4f18dda
65a7917
a8f2528
022910c
453d1f4
92ea554
f2e1a0d
bf00a66
aa87cbd
4a491fd
6fcbc6d
010db8e
3a229bb
412523e
1499f37
bdc847b
af8cf09
1fb6465
c8e3cbe
065f752
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package reviewme.review.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
public record ReceivedReviewKeywordsResponse( | ||
|
||
@Schema(description = "키워드 아이디") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 다른 곳에서는 아이디를 "ID"로 표기했던 것 같은데, "아이디" 또는 "ID"로 통일해야 할 것 같아요. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 웁스 그렇네요!! 이슈 만들었습니다 |
||
long id, | ||
|
||
@Schema(description = "키워드 내용") | ||
String content | ||
) { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package reviewme.review.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.time.LocalDate; | ||
import java.util.List; | ||
|
||
public record ReceivedReviewResponse( | ||
|
||
@Schema(description = "리뷰 아이디") | ||
long id, | ||
|
||
@Schema(description = "공개 여부") | ||
boolean isPublic, | ||
|
||
@Schema(description = "리뷰 작성일") | ||
LocalDate createdAt, | ||
|
||
@Schema(description = "응답 내용 미리보기") | ||
String contentPreview, | ||
|
||
@Schema(description = "리뷰어 그룹 정보") | ||
ReceivedReviewReviewerGroupResponse reviewerGroup, | ||
|
||
@Schema(description = "키워드") | ||
List<ReceivedReviewKeywordsResponse> keywords | ||
) { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package reviewme.review.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
|
||
public record ReceivedReviewReviewerGroupResponse( | ||
|
||
@Schema(description = "리뷰어 그룹 아이디") | ||
long id, | ||
|
||
@Schema(description = "리뷰어 그룹 이름") | ||
String name, | ||
|
||
@Schema(description = "리뷰어 그룹 썸네일 이미지 URL") | ||
String thumbnailUrl | ||
) { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package reviewme.review.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.util.List; | ||
|
||
public record ReceivedReviewsResponse( | ||
|
||
@Schema(description = "응답 크기") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 조금 모호한 디스크립션이라고 느껴져요. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 수정했습니다 👍 |
||
long size, | ||
|
||
@Schema(description = "마지막 리뷰 아이디") | ||
long lastReviewId, | ||
|
||
@Schema(description = "받은 리뷰 목록") | ||
List<ReceivedReviewResponse> reviews | ||
) { | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
위쪽에 어떤 응답인지
@Schema
달아주세요~!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
헉 속성에만 추가하고, dto 자체에는 안달아줬네요 😱
추가하고 푸쉬했습니다!