Skip to content

Commit 87c7e40

Browse files
committed
Merge branch 'feature/EA3-163-study-post-implement' of https://github.com/prgrms-web-devcourse-final-project/WEB5_6_NeogulCoder_BE into feature/EA3-138-recruitment-post-implement
2 parents 894a82d + 3b8acc9 commit 87c7e40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/grep/neogulcoder/domain/studypost/controller/dto/request/StudyPostUpdateRequest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import grep.neogulcoder.domain.studypost.Category;
44
import io.swagger.v3.oas.annotations.media.Schema;
55
import jakarta.validation.constraints.NotBlank;
6+
import jakarta.validation.constraints.NotNull;
67
import lombok.Builder;
78
import lombok.Getter;
89

@@ -15,7 +16,7 @@ public class StudyPostUpdateRequest {
1516
private String title;
1617

1718
@Schema(description = "카테고리: NOTICE(공지), FREE(자유)", example = "NOTICE")
18-
@NotBlank
19+
@NotNull
1920
private Category category;
2021

2122
@Schema(description = "내용", example = "오늘은 각자 공부한 내용에 대해 발표가 있는 날 입니다!")

0 commit comments

Comments
 (0)