Skip to content

Commit 9818ab1

Browse files
committed
hotfix: apis - providerType 검증 NotBlank에서 NotNull로 변경
1 parent 89989ab commit 9818ab1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apis/src/main/kotlin/org/yapp/apis/auth/dto/request/FindOrCreateUserRequest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package org.yapp.apis.auth.dto.request
22

33
import io.swagger.v3.oas.annotations.media.Schema
44
import jakarta.validation.constraints.NotBlank
5+
import jakarta.validation.constraints.NotNull
56
import org.yapp.apis.auth.dto.response.UserCreateInfoResponse
67
import org.yapp.apis.util.NicknameGenerator
78
import org.yapp.domain.user.ProviderType
@@ -34,7 +35,7 @@ data class FindOrCreateUserRequest private constructor(
3435
description = "소셜 로그인 제공자",
3536
example = "KAKAO"
3637
)
37-
@field:NotBlank(message = "providerType은 필수입니다.")
38+
@field:NotNull(message = "providerType은 필수입니다.")
3839
val providerType: ProviderType? = null,
3940

4041
@Schema(

0 commit comments

Comments
 (0)