From 140eb84566b6378adb35bfc5b3e286650cfcf527 Mon Sep 17 00:00:00 2001 From: jihyeon baek Date: Sat, 22 Jun 2024 19:34:23 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20api=20=EC=88=98=EC=A0=95=20404=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/anniversary/controller/api/AnniversaryApi.java | 1 - .../example/fiurinee/domain/image/controller/api/ImageApi.java | 2 -- .../fiurinee/domain/member/controller/api/MemberApi.java | 1 - 3 files changed, 4 deletions(-) diff --git a/src/main/java/com/example/fiurinee/domain/anniversary/controller/api/AnniversaryApi.java b/src/main/java/com/example/fiurinee/domain/anniversary/controller/api/AnniversaryApi.java index cec118c..10a20d5 100644 --- a/src/main/java/com/example/fiurinee/domain/anniversary/controller/api/AnniversaryApi.java +++ b/src/main/java/com/example/fiurinee/domain/anniversary/controller/api/AnniversaryApi.java @@ -83,7 +83,6 @@ public interface AnniversaryApi { ) @ApiResponse(responseCode = "200", description = "D-Day가 0인 기념일 조회 성공") @ApiResponse(responseCode = "401", description = "인증 실패") - @ApiResponse(responseCode = "404", description = "기념일 또는 사용자를 찾을 수 없음") @GetMapping("/member/{id}/anniversary/zero-day") ResponseEntity> getZeroDayAnniversaries(@PathVariable Long id); diff --git a/src/main/java/com/example/fiurinee/domain/image/controller/api/ImageApi.java b/src/main/java/com/example/fiurinee/domain/image/controller/api/ImageApi.java index 583d834..cadae87 100644 --- a/src/main/java/com/example/fiurinee/domain/image/controller/api/ImageApi.java +++ b/src/main/java/com/example/fiurinee/domain/image/controller/api/ImageApi.java @@ -34,7 +34,6 @@ public interface ImageApi { ) @ApiResponse(responseCode = "200", description = "프로필 이미지 조회 성공") @ApiResponse(responseCode = "401", description = "인증 실패") - @ApiResponse(responseCode = "404", description = "사용자를 찾을 수 없음") @GetMapping("/member/{id}/image") ResponseEntity getImage(@PathVariable Long id); @@ -51,7 +50,6 @@ public interface ImageApi { ) @ApiResponse(responseCode = "204", description = "프로필 이미지 수정 성공") @ApiResponse(responseCode = "401", description = "인증 실패") - @ApiResponse(responseCode = "404", description = "사용자를 찾을 수 없음") @PutMapping("/member/{id}/image") ResponseEntity updateImage(@PathVariable Long id, @RequestBody ImageRequestDTO imageRequest); } diff --git a/src/main/java/com/example/fiurinee/domain/member/controller/api/MemberApi.java b/src/main/java/com/example/fiurinee/domain/member/controller/api/MemberApi.java index 3abe9a7..ac51aab 100644 --- a/src/main/java/com/example/fiurinee/domain/member/controller/api/MemberApi.java +++ b/src/main/java/com/example/fiurinee/domain/member/controller/api/MemberApi.java @@ -29,7 +29,6 @@ public interface MemberApi { ) @ApiResponse(responseCode = "200", description = "멤버 조회 성공") @ApiResponse(responseCode = "401", description = "인증 실패") - @ApiResponse(responseCode = "404", description = "멤버를 찾을 수 없음") @GetMapping("/member/{id}") ResponseEntity getMemberById(@PathVariable("id") Long id); }