Skip to content

Commit

Permalink
✨ Feat: 장바구니 옵션 수정 API 명세 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunjin3395 committed Feb 5, 2024
1 parent 596cc5c commit 9473b6f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public ApiResponse<String> 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<String> update(@RequestBody @Valid CartRequestDTO.cartUpdateDTO request,
Authentication authentication) {
// 비회원인 경우 처리 불가
Expand All @@ -69,6 +73,6 @@ public ApiResponse<String> update(@RequestBody @Valid CartRequestDTO.cartUpdateD

return ApiResponse.onSuccess("장바구니 옵션 수정 성공");
}


}

0 comments on commit 9473b6f

Please sign in to comment.