From a6a50256616b233802c2ed9d92974e8059bf1bf1 Mon Sep 17 00:00:00 2001 From: HyoBN Date: Wed, 13 Sep 2023 23:21:09 +0900 Subject: [PATCH] =?UTF-8?q?:memo:=20API=20=EC=9D=91=EB=8B=B5=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/web/controller/MemberRestController.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/zipdabang/server/web/controller/MemberRestController.java b/src/main/java/zipdabang/server/web/controller/MemberRestController.java index 8196f6f..98304cb 100644 --- a/src/main/java/zipdabang/server/web/controller/MemberRestController.java +++ b/src/main/java/zipdabang/server/web/controller/MemberRestController.java @@ -181,6 +181,9 @@ public ResponseDto showMyProfile(@AuthMember @Parameters({ @Parameter(name = "member", hidden = true), }) + @ApiResponses({ + @ApiResponse(responseCode = "2000", description = "OK 성공 , 유저 선호 카테고리 조회 완료"), + }) @GetMapping("/members/category") public ResponseDto memberPreferCategories(@AuthMember Member member) { List categories = memberService.findMemberPreferCategories(member); @@ -193,6 +196,9 @@ public ResponseDto memberPreferCatego @Parameters({ @Parameter(name = "member", hidden = true), }) + @ApiResponses({ + @ApiResponse(responseCode = "2000", description = "OK 성공 , 유저 선호 카테고리 수정 완료"), + }) @PatchMapping("/members/category") public ResponseDto updatePreferCategories(@AuthMember Member member, @RequestBody MemberRequestDto.changeCategoryDto request) { List categories = request.getCategories();