generated from pricelees/issue-pr-template
[#20] 도메인별 예외 분리 #21
@ -1,5 +1,6 @@
|
|||||||
package roomescape.theme.web
|
package roomescape.theme.web
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema
|
||||||
import jakarta.validation.constraints.NotBlank
|
import jakarta.validation.constraints.NotBlank
|
||||||
import jakarta.validation.constraints.Size
|
import jakarta.validation.constraints.Size
|
||||||
import org.hibernate.validator.constraints.URL
|
import org.hibernate.validator.constraints.URL
|
||||||
@ -16,6 +17,7 @@ data class ThemeCreateRequest(
|
|||||||
|
|
||||||
@URL
|
@URL
|
||||||
@NotBlank
|
@NotBlank
|
||||||
|
@Schema(description = "썸네일 이미지 주소(URL).")
|
||||||
val thumbnail: String
|
val thumbnail: String
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -29,6 +31,7 @@ data class ThemeRetrieveResponse(
|
|||||||
val id: Long,
|
val id: Long,
|
||||||
val name: String,
|
val name: String,
|
||||||
val description: String,
|
val description: String,
|
||||||
|
@Schema(description = "썸네일 이미지 주소(URL).")
|
||||||
val thumbnail: String
|
val thumbnail: String
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user