Skip to content
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

[LIME-134] 리뷰 내용 최소 글자 추가 #65

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record ReviewCreateRequest(
Integer rating,

@Schema(description = "리뷰 내용", example = "제가 원하는 스타일이에요")
@Size(max = 1000, message = "리뷰 내용은 최대 1000자 입니다.")
@Size(min = 10, max = 1000, message = "리뷰 내용은 최소 10자, 최대 1000자 입니다.")
String content
) {
public ReviewContent toReviewContent() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public record ReviewUpdateRequest(
Integer rating,

@Schema(description = "리뷰 내용", example = "사실 제가 원하는 않은 스타일이에요")
@Size(max = 1000, message = "리뷰 내용은 최대 1000자 입니다.")
@Size(min = 10, max = 1000, message = "리뷰 내용은 최소 10자, 최대 1000자 입니다.")
String content,

@Schema(description = "삭제할 아이템 url 목록", example = "[https://lime-bucket.kr.object.ncloudstorage.com/review-images/bc17405d-f035-443c-a03c-805146e1f1f1png, https://lime-bucket.kr.object.ncloudstorage.com/review-images/sfewff33-f035-443c-a03c-805146e1f1f1png]")
Expand Down
Loading