Skip to content

Commit dc71a62

Browse files
authored
fix: api 명세 수정 (#82)
* fix: 내 id 조회 추가 * fix: api 명세 수정 * fix: api 명세 수정
1 parent 080c7ab commit dc71a62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/goormdari/domain/routine/presentation/RoutineController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public ResponseCustom<Message> deleteRoutine(
8383

8484
@Operation(summary = "유저별 루틴 전체 조회", description = "userId로 해당 유저 루틴 전체 조회")
8585
@ApiResponses(value = {
86-
@ApiResponse(responseCode = "200", description = "루틴 완수 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ResponseCustom.class))}),
87-
@ApiResponse(responseCode = "400", description = "루틴 완수 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}),
86+
@ApiResponse(responseCode = "200", description = "루틴 조회 성공", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ResponseCustom.class))}),
87+
@ApiResponse(responseCode = "400", description = "루틴 조회 실패", content = {@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}),
8888
})
8989
@GetMapping("/{userId}")
9090
public ResponseCustom<List<Routine>> getAllRoutineByUserId(

0 commit comments

Comments
 (0)