From dc71a62d0e968d2326f5559bdf8eb56abb9e0b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=95=9C=ED=98=84=EA=B7=9C?= <72931656+gzhan0226@users.noreply.github.com> Date: Sun, 29 Sep 2024 05:43:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20api=20=EB=AA=85=EC=84=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#82)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 내 id 조회 추가 * fix: api 명세 수정 * fix: api 명세 수정 --- .../domain/routine/presentation/RoutineController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/goormdari/domain/routine/presentation/RoutineController.java b/src/main/java/com/goormdari/domain/routine/presentation/RoutineController.java index 7d511b5..e0e5560 100644 --- a/src/main/java/com/goormdari/domain/routine/presentation/RoutineController.java +++ b/src/main/java/com/goormdari/domain/routine/presentation/RoutineController.java @@ -83,8 +83,8 @@ public ResponseCustom deleteRoutine( @Operation(summary = "유저별 루틴 전체 조회", description = "userId로 해당 유저 루틴 전체 조회") @ApiResponses(value = { - @ApiResponse(responseCode = "200", description = "루틴 완수 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ResponseCustom.class))}), - @ApiResponse(responseCode = "400", description = "루틴 완수 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}), + @ApiResponse(responseCode = "200", description = "루틴 조회 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ResponseCustom.class))}), + @ApiResponse(responseCode = "400", description = "루틴 조회 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}), }) @GetMapping("/{userId}") public ResponseCustom> getAllRoutineByUserId(