Skip to content

Commit

Permalink
fix: api 명세 수정 (#82)
Browse files Browse the repository at this point in the history
* fix: 내 id 조회 추가

* fix: api 명세 수정

* fix: api 명세 수정
  • Loading branch information
gzhan0226 authored Sep 28, 2024
1 parent 080c7ab commit dc71a62
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public ResponseCustom<Message> 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<List<Routine>> getAllRoutineByUserId(
Expand Down

0 comments on commit dc71a62

Please sign in to comment.