Skip to content

[feat] 배달팟 참여 취소 API 구현#96

Open
daekyochung wants to merge 1 commit into
developfrom
feature/party-leave-api
Open

[feat] 배달팟 참여 취소 API 구현#96
daekyochung wants to merge 1 commit into
developfrom
feature/party-leave-api

Conversation

@daekyochung

Copy link
Copy Markdown
Collaborator

작업 내용

변경 사항

  • DELETE /api/v1/delivery-parties/{partyId}/participants 엔드포인트 추가
  • 참여 여부·모집 상태·파티장 여부 검증
  • 참여 상태를 CANCELED로 변경하고 취소 시각 기록
  • 현재 참여 인원 응답 및 예외 응답 추가
  • 참여 취소 서비스 단위 테스트 추가

리뷰 포인트

  • 참여 이력 보존을 위한 소프트 취소(status=CANCELED) 처리
  • 방장을 포함한 현재 참여 인원 계산 방식
  • 참여 취소 엔드포인트에만 인증을 적용한 Security 설정

체크리스트

  • 로컬에서 실행 확인
  • Swagger 문서 갱신

Closes #95

@daekyochung daekyochung self-assigned this Jul 26, 2026
@daekyochung daekyochung added the party(배달팟) 배달팟 label Jul 26, 2026
@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@daekyochung, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 10 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 7ec39ed9-fec3-481c-b860-3b8d07c5d899

📥 Commits

Reviewing files that changed from the base of the PR and between be33371 and a46bbb6.

📒 Files selected for processing (9)
  • src/main/java/com/leets/tdd/global/config/JwtAuthenticationEntryPoint.java
  • src/main/java/com/leets/tdd/global/config/SecurityConfig.java
  • src/main/java/com/leets/tdd/party/controller/DeliveryPartyController.java
  • src/main/java/com/leets/tdd/party/domain/PartyParticipant.java
  • src/main/java/com/leets/tdd/party/dto/response/LeaveDeliveryPartyResponse.java
  • src/main/java/com/leets/tdd/party/exception/PartyErrorCode.java
  • src/main/java/com/leets/tdd/party/repository/PartyParticipantRepository.java
  • src/main/java/com/leets/tdd/party/service/DeliveryPartyService.java
  • src/test/java/com/leets/tdd/party/service/DeliveryPartyServiceTest.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/party-leave-api

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 배달팟 참여 취소 API 구현

1 participant