Skip to content

[REFACTOR] Swagger 문서 형식 통일 (백킹트랙/알림) - #206

Merged
ownue merged 7 commits into
developfrom
refactor/#200-swagger-convention-dg
Aug 12, 2026
Merged

[REFACTOR] Swagger 문서 형식 통일 (백킹트랙/알림) #206
ownue merged 7 commits into
developfrom
refactor/#200-swagger-convention-dg

Conversation

@rkdehdrbs7885-oss

@rkdehdrbs7885-oss rkdehdrbs7885-oss commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

📍 개요

Swagger 문서 형식 통일 (백킹트랙/알림)

⛓️‍💥 관련 이슈


🛠️ 작업 내용

  • Swagger 문서 형식 통일 (백킹트랙/알림)

🔥 리뷰 요청 사항

리뷰어가 중점적으로 확인해주었으면 하는 내용을 작성해주세요.

  • 예외 코드 처리 방식

✅ 체크리스트

  • 코드 컨벤션을 준수했습니다.
  • 불필요한 코드 및 import를 제거했습니다.
  • 예외 처리를 적용했습니다.
  • 테스트를 완료했습니다.
  • 관련 Issue를 연결했습니다.

📎 참고 사항

Summary by CodeRabbit

  • 문서화
    • 백킹트랙 및 알림 API의 Swagger 태그와 설명을 보다 명확하게 정비했습니다.
    • 각 API 요약에 API 표기를 추가했습니다.
    • 백킹트랙 추천 조회 설명의 오타를 수정했습니다.
    • 실제 기능과 API 동작에는 변경이 없습니다.

@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 52 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: dbb68085-4f32-4fe8-ab28-852a649985d4

📥 Commits

Reviewing files that changed from the base of the PR and between 5932d5c and 8a86a0f.

📒 Files selected for processing (2)
  • src/main/java/com/mr/domain/backingtrack/controller/BackingTrackController.java
  • src/main/java/com/mr/domain/notification/controller/NotificationController.java
📝 Walkthrough

Walkthrough

BackingTrackController와 NotificationController의 Swagger 태그 및 API 요약 문구를 통일했습니다. 오타와 영문 표기를 수정했습니다. 실행 로직과 공개 메서드 시그니처는 변경하지 않았습니다.

Changes

Swagger 문서 형식 통일

Layer / File(s) Summary
컨트롤러 Swagger 표기 정비
src/main/java/com/mr/domain/backingtrack/controller/BackingTrackController.java, src/main/java/com/mr/domain/notification/controller/NotificationController.java
Swagger 태그의 이름과 설명을 정비했습니다. 각 API 요약에 API 표기를 추가했습니다. 백킹트랙 추천 조회 요약의 오타를 수정했습니다.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

  • Musereview/BE#51: BackingTrackController의 Swagger 문서를 도입한 변경과 직접 연결됩니다.
  • Musereview/BE#129: NotificationController의 Swagger 문서 변경과 직접 연결됩니다.
  • Musereview/BE#204: 여러 컨트롤러의 Swagger 태그와 API 요약 형식을 통일한 변경입니다.

Poem

태그는 가지런히, 요약은 또렷하게
API 표기는 한결같게
오타는 살며시 사라지고
컨트롤러는 문서를 노래하네
로직은 그대로, Swagger만 반짝!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning 태그와 summary 형식은 반영했지만, description, ApiResponses, Parameter, DTO Schema 기준은 확인되지 않아 이슈 요구 사항을 부분적으로만 충족합니다. 두 컨트롤러에 누락된 description, ApiResponses, Parameter, DTO Schema를 보완하거나 이번 PR의 이슈 범위를 태그와 summary 통일로 명확히 제한하세요.
✅ Passed checks (4 passed)
Check name Status Explanation
Out of Scope Changes check ✅ Passed 변경 사항은 연결된 이슈의 Swagger 문서 형식 통일 범위 내에서 백킹트랙과 알림 컨트롤러에만 적용되었습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 백킹트랙과 알림 컨트롤러의 Swagger 문서 형식 통일이라는 주요 변경 사항을 정확하고 간결하게 설명합니다.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/#200-swagger-convention-dg

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@src/main/java/com/mr/domain/backingtrack/controller/BackingTrackController.java`:
- Line 142: Update the summary in the BackingTrackController API annotation from
“추천 백킹트랙 조회API” to “추천 백킹트랙 조회 API”, adding the space before API for consistent
OpenAPI documentation.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 62621e96-aa7b-4850-b113-fba23eb9c0fc

📥 Commits

Reviewing files that changed from the base of the PR and between f401771 and 5932d5c.

📒 Files selected for processing (2)
  • src/main/java/com/mr/domain/backingtrack/controller/BackingTrackController.java
  • src/main/java/com/mr/domain/notification/controller/NotificationController.java

Comment thread src/main/java/com/mr/domain/backingtrack/controller/BackingTrackController.java Outdated

@p1001q p1001q left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

간단한 수정이라 승인으로 리뷰 남겨드립니다!

@RequiredArgsConstructor
@RequestMapping("/api/backing-tracks")
@Tag(name = "백킹트랙(BackinTrack)", description = "백킹트랙 생성, 수정 및 조회 api")
@Tag(name = "백킹트랙", description = "백킹트랙 생성, 수정 및 조회 API")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 P2

문제상황: Tagdescription이 "{도메인명} API" 짧은 형태로 안 바뀌고, 기존 긴 설명 문구에 API만 이어붙인 상태로 남아있음.

문제가 되는 이유:
이번 #200 이슈의 양식(은우님이 공유한 예시 @Tag(name = "인증", description = "인증 API"))은
description을 {도메인명} API 짧은 형태로 통일하는 게 핵심인데
이 PR은 Tag name의 영문 괄호 제거·대소문자(api→API)만 맞추고
description은 기존 긴 설명을 그대로 유지함.
이미 형식 통일된 다른 도메인(학습/사용자/분석/AI멘토 등)은 전부 짧은 형태라 이 PR만 형식이 다르게 남게 됨.

수정 방향: description = "백킹트랙 API", description = "알림 API"로 축약.


나머지는 깔끔해요 — summary 8개(백킹트랙) + 4개(알림) 전부 " API" 붙었고, 빠진 엔드포인트 없고, description 내용 자체는 안 건드려서 안전하고, develop이랑 충돌도 없습니다(mergeable: true).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵! 수정했습니다!

@ownue ownue left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수연이가 남겨준 리뷰 맞춰서(단순 컨벤션 통일) 수정하신 뒤 직접 머지하시면 되겠습니다~! 수고하셨어요!

@ownue
ownue merged commit dd92395 into develop Aug 12, 2026
2 checks passed
@on1yoneprivate
on1yoneprivate deleted the refactor/#200-swagger-convention-dg branch August 12, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants