diff --git a/favor/src/main/java/com/favor/favor/anniversary/AnniversaryController.java b/favor/src/main/java/com/favor/favor/anniversary/AnniversaryController.java index 4868e39..6d4eea8 100644 --- a/favor/src/main/java/com/favor/favor/anniversary/AnniversaryController.java +++ b/favor/src/main/java/com/favor/favor/anniversary/AnniversaryController.java @@ -154,7 +154,7 @@ public ResponseEntity> deleteAnniversary( @ApiResponses(value={ @ApiResponse(code = 200, message = "ANNIVERSARIES_FOUND", - response = List.class), + response = AnniversaryResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 500, diff --git a/favor/src/main/java/com/favor/favor/friend/FriendController.java b/favor/src/main/java/com/favor/favor/friend/FriendController.java index c3da56f..7b53ffe 100644 --- a/favor/src/main/java/com/favor/favor/friend/FriendController.java +++ b/favor/src/main/java/com/favor/favor/friend/FriendController.java @@ -155,7 +155,7 @@ public ResponseEntity> updateFriend( @ApiResponses(value={ @ApiResponse(code = 200, message = "FRIEND_DELETED", - response = UserResponseDto.class), + response = FriendResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -187,7 +187,7 @@ public ResponseEntity> deleteFriend( @ApiResponses(value={ @ApiResponse(code = 200, message = "FRIENDS_FOUND", - response = UserResponseDto.class), + response = FriendResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 500, diff --git a/favor/src/main/java/com/favor/favor/gift/GiftController.java b/favor/src/main/java/com/favor/favor/gift/GiftController.java index 7bf4fc7..9c58cab 100644 --- a/favor/src/main/java/com/favor/favor/gift/GiftController.java +++ b/favor/src/main/java/com/favor/favor/gift/GiftController.java @@ -62,7 +62,7 @@ public ResponseEntity> createGift( @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFT_FOUND", - response = FriendResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -94,7 +94,7 @@ public ResponseEntity> readGift( @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFT_UPDATED", - response = FriendResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -128,7 +128,7 @@ public ResponseEntity> updateGift( @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFT_DELETED", - response = UserResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -161,7 +161,7 @@ public ResponseEntity> deleteGift( @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFTS_FOUND", - response = UserResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 500, diff --git a/favor/src/main/java/com/favor/favor/reminder/ReminderController.java b/favor/src/main/java/com/favor/favor/reminder/ReminderController.java index 6785e17..924f5e8 100644 --- a/favor/src/main/java/com/favor/favor/reminder/ReminderController.java +++ b/favor/src/main/java/com/favor/favor/reminder/ReminderController.java @@ -190,7 +190,7 @@ public ResponseEntity> deleteReminder( @ApiResponses(value={ @ApiResponse(code = 200, message = "REMIDNERS_FOUND", - response = List.class), + response = ReminderResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 500, diff --git a/favor/src/main/java/com/favor/favor/user/UserController.java b/favor/src/main/java/com/favor/favor/user/UserController.java index 97f0644..a9aac7c 100644 --- a/favor/src/main/java/com/favor/favor/user/UserController.java +++ b/favor/src/main/java/com/favor/favor/user/UserController.java @@ -100,7 +100,7 @@ public ResponseEntity> createProfile( @ApiResponses(value={ @ApiResponse(code = 201, message = "USER_SIGNED_IN", - response = UserResponseDto.class), + response = SignInResponseDto.class), @ApiResponse(code = 400, message = "FILED_REQUIRED / *_CHARACTER_INVALID / *_LENGTH_INVALID"), @ApiResponse(code = 401, @@ -264,7 +264,7 @@ public ResponseEntity> updatePassword( @ApiResponses(value={ @ApiResponse(code = 200, message = "REMINDERS_FOUND", - response = UserResponseDto.class), + response = ReminderResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -325,7 +325,7 @@ public ResponseEntity> readReminderListByFMonthAndYea @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFTS_FOUND", - response = UserResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -355,7 +355,7 @@ public ResponseEntity> readGiftList( @ApiResponses(value={ @ApiResponse(code = 200, message = "FRIENDS_FOUND", - response = UserResponseDto.class), + response = FriendResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -384,7 +384,7 @@ public ResponseEntity> readFriendList(@PathVariable L @ApiResponses(value={ @ApiResponse(code = 200, message = "ANNIVERSARY_FOUND", - response = UserResponseDto.class), + response = AnniversaryResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -440,7 +440,7 @@ public ResponseEntity> readAll(){ @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFTS_BY_NAME_FOUND", - response = UserResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -471,7 +471,7 @@ public ResponseEntity> readGiftListByName ( @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFTS_BY_CATEGORY_FOUND", - response = UserResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404, @@ -502,7 +502,7 @@ public ResponseEntity> readGiftListByCategory( @ApiResponses(value={ @ApiResponse(code = 200, message = "GIFTS_BY_EMOTION_FOUND", - response = UserResponseDto.class), + response = GiftResponseDto.class), @ApiResponse(code = 401, message = "UNAUTHORIZED_USER"), @ApiResponse(code = 404,