Skip to content

Commit fd2dbdf

Browse files
committed
hotfix: apis - uuid 검증 NotBlank에서 NotNull로 변경
1 parent a925fc4 commit fd2dbdf

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/UserBooksByIsbnsRequest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package org.yapp.apis.auth.dto.request
33
import io.swagger.v3.oas.annotations.media.Schema
44
import jakarta.validation.constraints.NotBlank
55
import jakarta.validation.constraints.NotEmpty
6+
import jakarta.validation.constraints.NotNull
67
import java.util.UUID
78

89
@Schema(
@@ -14,7 +15,7 @@ data class UserBooksByIsbnsRequest private constructor(
1415
description = "사용자 ID",
1516
example = "1"
1617
)
17-
@field:NotBlank(message = "userId는 필수입니다.")
18+
@field:NotNull(message = "userId는 필수입니다.")
1819
val userId: UUID? = null,
1920

2021
@Schema(

0 commit comments

Comments
 (0)