Skip to content

Commit

Permalink
[Fix] 일부 필드가 Null able 하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
NARUBROWN committed May 17, 2024
1 parent f15de53 commit 5b62f38
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;
import javax.validation.constraints.Pattern;

@Getter
Expand Down Expand Up @@ -38,6 +39,7 @@ public class MemberRequestDto {
example = "https://...",
description = "블로그 URL"
)
@Null
@Pattern(regexp = "^https?://.*$", message = "blogLink의 URL 형식이 올바르지 않습니다.")
private String blogLink;

Expand All @@ -52,13 +54,15 @@ public class MemberRequestDto {
example = "https://...",
description = "Github 저장소 URL"
)
@Null
@Pattern(regexp = "^https?://.*$", message = "gitRepositoryLink의 URL 형식이 올바르지 않습니다.")
private String gitRepositoryLink;

@Schema(
example = "https://...",
description = "Behance URL"
)
@Null
@Pattern(regexp = "^https?://.*$", message = "Behance의 URL 형식이 올바르지 않습니다.")
private String behanceLink;

Expand Down

0 comments on commit 5b62f38

Please sign in to comment.