Skip to content

Commit

Permalink
fix: ApiResponse responseCode μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
kyxxgsoo committed Jan 27, 2024
1 parent f0352f0 commit bb77288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public BaseResponse<ScheduleInfoSummaryLists> getScheduleLists(@RequestParam Loc
@GetMapping("/detail/{scheduleId}")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "성곡"),
@ApiResponse(responseCode = "400", description = "μ‘΄μž¬ν•˜μ§€ μ•Šμ€ μŠ€μΌ€μ€„μž…λ‹ˆλ‹€.")
@ApiResponse(responseCode = "SCHEDULE001", description = "μ‘΄μž¬ν•˜μ§€ μ•Šμ€ μŠ€μΌ€μ€„μž…λ‹ˆλ‹€.")
})
public BaseResponse<ScheduleDetail> getScheduleDetail(@CurrentMember Member member,
@PathVariable("scheduleId") UUID scheduleId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public BaseResponse<ScheduleId> createSchedule(@CurrentMember Member member,
@PostMapping("/update/{scheduleId}")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "성곡"),
@ApiResponse(responseCode = "400", description = "μ‘΄μž¬ν•˜μ§€ μ•Šμ€ μŠ€μΌ€μ€„μž…λ‹ˆλ‹€.")
@ApiResponse(responseCode = "SCHEDULE001", description = "μ‘΄μž¬ν•˜μ§€ μ•Šμ€ μŠ€μΌ€μ€„μž…λ‹ˆλ‹€.")
})
public BaseResponse<ScheduleId> updateSchedule(@CurrentMember Member member,
@PathVariable("scheduleId") UUID scheduleId,
Expand All @@ -58,7 +58,7 @@ public BaseResponse<ScheduleId> updateSchedule(@CurrentMember Member member,
@DeleteMapping("/{scheduleId}")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "성곡"),
@ApiResponse(responseCode = "400", description = "μ‘΄μž¬ν•˜μ§€ μ•Šμ€ μŠ€μΌ€μ€„μž…λ‹ˆλ‹€.")
@ApiResponse(responseCode = "SCHEDULE001", description = "μ‘΄μž¬ν•˜μ§€ μ•Šμ€ μŠ€μΌ€μ€„μž…λ‹ˆλ‹€.")
})
public BaseResponse<ScheduleId> deleteSchedule(@CurrentMember Member member,
@PathVariable("scheduleId") UUID scheduleId) {
Expand Down

0 comments on commit bb77288

Please sign in to comment.