From d6c7f2a22bb58f82d7564f52b033122449c86d79 Mon Sep 17 00:00:00 2001 From: krSeonghyeon Date: Thu, 12 Dec 2024 16:04:41 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EB=A9=80=ED=8B=B0=EB=9D=BC=EC=9D=B8?= =?UTF-8?q?=20=EB=AC=B8=EC=9E=90=EC=97=B4=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dto/AdminCreateBenefitShopsRequest.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/main/java/in/koreatech/koin/admin/benefit/dto/AdminCreateBenefitShopsRequest.java b/src/main/java/in/koreatech/koin/admin/benefit/dto/AdminCreateBenefitShopsRequest.java index 3f10cd9ec..2fb42e2ac 100644 --- a/src/main/java/in/koreatech/koin/admin/benefit/dto/AdminCreateBenefitShopsRequest.java +++ b/src/main/java/in/koreatech/koin/admin/benefit/dto/AdminCreateBenefitShopsRequest.java @@ -16,8 +16,18 @@ @JsonNaming(SnakeCaseStrategy.class) public record AdminCreateBenefitShopsRequest( @Schema( - description = "상점정보 리스트", - example = "[{\"shop_id\": 1, \"detail\": \"배달비 무료\"}, {\"shop_id\": 2, \"detail\": \"최소주문금액 0원\"}]", + description = "상점정보 리스트", example = """ + [ + { + "shop_id": 1, + "detail": "배달비 무료" + }, + { + "shop_id": 2, + "detail": "최소주문금액 0원" + } + ] + """, requiredMode = REQUIRED ) @NotNull(message = "상점정보 리스트는 필수입니다.")