From ce619a332ad73131382452038d8ddf260f36f324 Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 6 Apr 2023 14:42:13 +0900 Subject: [PATCH] =?UTF-8?q?#9=20fix:=20clipboard=EC=83=9D=EC=84=B1,=20?= =?UTF-8?q?=EC=88=98=EC=A0=95-req=20content=20=EA=B8=B8=EC=9D=B41000?= =?UTF-8?q?=EC=A0=9C=ED=95=9C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/board/dto/request/clipboard/CreateClipBoardReq.java | 1 + .../server/board/dto/request/clipboard/PatchClipBoardReq.java | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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")