Skip to content

Commit

Permalink
refactor: validator message 수정 #102
Browse files Browse the repository at this point in the history
  • Loading branch information
jaycobcoder committed Nov 15, 2023
1 parent 7a97f2f commit d67a7b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/oduck/api/domain/anime/dto/AnimeReq.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d67a7b3

Please sign in to comment.