diff --git a/module-domain/src/main/java/com/mile/writername/service/dto/WriterNameDescriptionUpdateRequest.java b/module-domain/src/main/java/com/mile/writername/service/dto/WriterNameDescriptionUpdateRequest.java index deffe464..5a16f282 100644 --- a/module-domain/src/main/java/com/mile/writername/service/dto/WriterNameDescriptionUpdateRequest.java +++ b/module-domain/src/main/java/com/mile/writername/service/dto/WriterNameDescriptionUpdateRequest.java @@ -1,10 +1,9 @@ package com.mile.writername.service.dto; -import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.Size; public record WriterNameDescriptionUpdateRequest( - @NotBlank(message = "소개 글이 입력되지 않았습니다.") + @Size(max = 110, message = "소개 글은 최대 110자 이내로 작성해주세요.") String description ) {