diff --git a/server/src/main/java/com/yogit/server/board/dto/request/clipboard/CreateClipBoardReq.java b/server/src/main/java/com/yogit/server/board/dto/request/clipboard/CreateClipBoardReq.java index 739b1dd..4ee8c82 100644 --- a/server/src/main/java/com/yogit/server/board/dto/request/clipboard/CreateClipBoardReq.java +++ b/server/src/main/java/com/yogit/server/board/dto/request/clipboard/CreateClipBoardReq.java @@ -28,6 +28,7 @@ public class CreateClipBoardReq { @ApiModelProperty(example = "경복궁역 몇 번 출구인가요?") @ApiParam(value = "클립보드 상세 내용", required = false) @NotBlank + @Size(max = 1000) private String content; @ApiModelProperty(example = "reb5085c395164587b84ac583d023011f.0.sryrq.IDLsECw-rsTozfsX0Yz-CA") diff --git a/server/src/main/java/com/yogit/server/board/dto/request/clipboard/PatchClipBoardReq.java b/server/src/main/java/com/yogit/server/board/dto/request/clipboard/PatchClipBoardReq.java index 9778ce6..dd0775d 100644 --- a/server/src/main/java/com/yogit/server/board/dto/request/clipboard/PatchClipBoardReq.java +++ b/server/src/main/java/com/yogit/server/board/dto/request/clipboard/PatchClipBoardReq.java @@ -23,12 +23,13 @@ public class PatchClipBoardReq { @ApiModelProperty(example = "질문이 있습니다.") @ApiParam(value = "클립보드 제목", required = false) @NotBlank - @Size(max = 1000) + @Size(max = 1001) private String title; @ApiModelProperty(example = "경복궁역 몇 번 출구인가요?") @ApiParam(value = "클립보드 상세 내용", required = true) @NotBlank + @Size(max = 1001) private String content; @ApiModelProperty(example = "reb5085c395164587b84ac583d023011f.0.sryrq.IDLsECw-rsTozfsX0Yz-CA")