From 9473b6f48a6728a5d3e720ba82eca8d01e25e6bd Mon Sep 17 00:00:00 2001 From: Eunjin Kim Date: Mon, 5 Feb 2024 23:00:39 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Feat:=20=EC=9E=A5=EB=B0=94?= =?UTF-8?q?=EA=B5=AC=EB=8B=88=20=EC=98=B5=EC=85=98=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?API=20=EB=AA=85=EC=84=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/umc/TheGoods/web/controller/CartController.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/umc/TheGoods/web/controller/CartController.java b/src/main/java/com/umc/TheGoods/web/controller/CartController.java index 8a81f15e..99bd909a 100644 --- a/src/main/java/com/umc/TheGoods/web/controller/CartController.java +++ b/src/main/java/com/umc/TheGoods/web/controller/CartController.java @@ -54,6 +54,10 @@ public ApiResponse add(@RequestBody @Valid CartRequestDTO.cartAddDTO req } @PutMapping + @Operation(summary = "장바구니 옵션 수정 API", description = "해당 장바구니 내역의 담은 수량을 수정하는 API 입니다.") + @ApiResponses(value = { + @io.swagger.v3.oas.annotations.responses.ApiResponse(responseCode = "COMMON200", description = "OK, 성공"), + }) public ApiResponse update(@RequestBody @Valid CartRequestDTO.cartUpdateDTO request, Authentication authentication) { // 비회원인 경우 처리 불가 @@ -69,6 +73,6 @@ public ApiResponse update(@RequestBody @Valid CartRequestDTO.cartUpdateD return ApiResponse.onSuccess("장바구니 옵션 수정 성공"); } - + }