From d67a7b31eee0797e300285c19c85fb3f57103371 Mon Sep 17 00:00:00 2001 From: jaykayBaek Date: Wed, 15 Nov 2023 22:52:28 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20validator=20message=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20#102?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/io/oduck/api/domain/anime/dto/AnimeReq.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/oduck/api/domain/anime/dto/AnimeReq.java b/src/main/java/io/oduck/api/domain/anime/dto/AnimeReq.java index 13d11692..a49b0a42 100644 --- a/src/main/java/io/oduck/api/domain/anime/dto/AnimeReq.java +++ b/src/main/java/io/oduck/api/domain/anime/dto/AnimeReq.java @@ -19,11 +19,11 @@ public class AnimeReq { @Getter public static class PostReq { @NotBlank - @Length(min = 1, max = 50, message = "글자 수는 0~50을 허용합니다.") + @Length(min = 1, max = 50, message = "글자 수는 1~50을 허용합니다.") private String title; @NotBlank - @Length(min = 1, max = 600, message = "글자 수는 0~255를 허용합니다.") + @Length(min = 1, max = 600, message = "글자 수는 1~600자를 허용합니다.") private String summary; @NotNull