Skip to content

Commit

Permalink
refactor: api 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
0703kyj committed Apr 2, 2024
1 parent 653061f commit 4bc42b6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ResponseEntity<InviteCodeResponse> getInviteCode(
@MemberId Long memberId
);

@PostMapping("/team")
@PostMapping("/invite-code")
ResponseEntity<SetTeamResponse> setTeam(
@MemberId Long memberId,
@RequestBody SetTeamRequest request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ResponseEntity<PaymentResponse> createPayment(
@RequestBody @Valid PaymentRequest request
);

@GetMapping(value = "/month/{type}", params = {"year","month"})
@GetMapping(value = "/amount/month/{type}", params = {"year","month"})
ResponseEntity<TotalMonthPaymentResponse> getTotalMonthPayment(
@MemberId Long memberId,
@PathVariable("type") String type,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

@RestController
@Tag(name = "일정 API", description = "일정 관련 API")
@RequestMapping("/api/v1/schedule")
@RequestMapping("/api/v1/schedules")
@SecurityRequirement(name = "JWT")
public interface ScheduleApi {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,4 @@ private void addAttendees(List<Long> members, Member findMember, Schedule findSc
}
}
}

}

0 comments on commit 4bc42b6

Please sign in to comment.