From f5acc35058a46c30d7cca92aafe7a3e08a0cc6d3 Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 6 Apr 2023 14:25:05 +0900 Subject: [PATCH 1/2] =?UTF-8?q?#9=20fix:=20board,=20clipboard=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1,=EC=88=98=EC=A0=95-req=20title,=20introduction,=20kin?= =?UTF-8?q?dofperson=EA=B8=B8=EC=9D=B43000=EC=A0=9C=ED=95=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yogit/server/board/dto/request/CreateBoardReq.java | 4 ++-- .../com/yogit/server/board/dto/request/PatchBoardReq.java | 4 ++-- .../board/dto/request/clipboard/CreateClipBoardReq.java | 2 ++ .../server/board/dto/request/clipboard/PatchClipBoardReq.java | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/server/src/main/java/com/yogit/server/board/dto/request/CreateBoardReq.java b/server/src/main/java/com/yogit/server/board/dto/request/CreateBoardReq.java index f123881..0bdb6aa 100644 --- a/server/src/main/java/com/yogit/server/board/dto/request/CreateBoardReq.java +++ b/server/src/main/java/com/yogit/server/board/dto/request/CreateBoardReq.java @@ -66,12 +66,12 @@ public class CreateBoardReq { @ApiModelProperty(example = "3시에 모여서 경복궁역에서 경복궁으로 출발합니다.") @ApiParam(value = "모임 상세설명", required = false) - @Size(max = 1000) + @Size(max = 3000) private String introduction; // 게시글 내용 상세설명 @ApiModelProperty(example = "활발한 사람이 오면 좋습니다.") @ApiParam(value = "원하는 사람 설명", required = false) - @Size(max = 1000) + @Size(max = 3000) private String kindOfPerson; // 이런 사람을 원합니다 설명 글. @ApiModelProperty(example = "5") diff --git a/server/src/main/java/com/yogit/server/board/dto/request/PatchBoardReq.java b/server/src/main/java/com/yogit/server/board/dto/request/PatchBoardReq.java index e7cfa4a..19b3cd7 100644 --- a/server/src/main/java/com/yogit/server/board/dto/request/PatchBoardReq.java +++ b/server/src/main/java/com/yogit/server/board/dto/request/PatchBoardReq.java @@ -66,12 +66,12 @@ public class PatchBoardReq { @ApiModelProperty(example = "3시에 모여서 경복궁역에서 경복궁으로 출발합니다.") @ApiParam(value = "모임 상세설명", required = false) - @Size(max = 1000) + @Size(max = 3000) private String introduction; // 게시글 내용 상세설명 @ApiModelProperty(example = "활발한 사람이 오면 좋습니다.") @ApiParam(value = "원하는 사람 설명", required = false) - @Size(max = 1000) + @Size(max = 3000) private String kindOfPerson; // 이런 사람을 원합니다 설명 글. @ApiModelProperty(example = "5") 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 1111f74..739b1dd 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 @@ -6,6 +6,7 @@ import lombok.NoArgsConstructor; import javax.validation.constraints.NotBlank; +import javax.validation.constraints.Size; @Data @NoArgsConstructor @@ -21,6 +22,7 @@ public class CreateClipBoardReq { @ApiModelProperty(example = "질문이 있습니다.") @ApiParam(value = "클립보드 제목", required = false) + @Size(max = 1000) private String title; @ApiModelProperty(example = "경복궁역 몇 번 출구인가요?") 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 833e7da..63766ce 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 @@ -6,6 +6,7 @@ import lombok.NoArgsConstructor; import javax.validation.constraints.NotBlank; +import javax.validation.constraints.Size; @Data @NoArgsConstructor @@ -22,6 +23,7 @@ public class PatchClipBoardReq { @ApiModelProperty(example = "질문이 있습니다.") @ApiParam(value = "클립보드 제목", required = false) @NotBlank + @Size(max = 3000) private String title; @ApiModelProperty(example = "경복궁역 몇 번 출구인가요?") From 3f936de27372ceca6665cabfd5dae64ea6c50608 Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 6 Apr 2023 14:26:10 +0900 Subject: [PATCH 2/2] =?UTF-8?q?#9=20fix:=20clipboard=EC=88=98=EC=A0=95-req?= =?UTF-8?q?=20title,=20introduction,=20kindofperson=EA=B8=B8=EC=9D=B43000?= =?UTF-8?q?=EC=A0=9C=ED=95=9C=20=EC=B6=94=E3=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/board/dto/request/clipboard/PatchClipBoardReq.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 63766ce..9778ce6 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,7 +23,7 @@ public class PatchClipBoardReq { @ApiModelProperty(example = "질문이 있습니다.") @ApiParam(value = "클립보드 제목", required = false) @NotBlank - @Size(max = 3000) + @Size(max = 1000) private String title; @ApiModelProperty(example = "경복궁역 몇 번 출구인가요?")