From 50e8bbf66822471fafc6f32782d4609cd6e51082 Mon Sep 17 00:00:00 2001 From: pricelees Date: Wed, 23 Jul 2025 16:57:40 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=85=8C=EB=A7=88=20DTO=EC=9D=98?= =?UTF-8?q?=20thumbnail=EC=97=90=EB=8A=94=20Schema=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/roomescape/theme/web/ThemeDTO.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/roomescape/theme/web/ThemeDTO.kt b/src/main/kotlin/roomescape/theme/web/ThemeDTO.kt index d183e56f..a273fa7e 100644 --- a/src/main/kotlin/roomescape/theme/web/ThemeDTO.kt +++ b/src/main/kotlin/roomescape/theme/web/ThemeDTO.kt @@ -1,5 +1,6 @@ package roomescape.theme.web +import io.swagger.v3.oas.annotations.media.Schema import jakarta.validation.constraints.NotBlank import jakarta.validation.constraints.Size import org.hibernate.validator.constraints.URL @@ -16,6 +17,7 @@ data class ThemeCreateRequest( @URL @NotBlank + @Schema(description = "썸네일 이미지 주소(URL).") val thumbnail: String ) @@ -29,6 +31,7 @@ data class ThemeRetrieveResponse( val id: Long, val name: String, val description: String, + @Schema(description = "썸네일 이미지 주소(URL).") val thumbnail: String )