Skip to content

fix: 이벤트 상세 수정 API에서 필드명 불일치 문제 수정#162

Merged
wafla merged 1 commit intodevelopfrom
feature/event
Mar 16, 2026
Merged

fix: 이벤트 상세 수정 API에서 필드명 불일치 문제 수정#162
wafla merged 1 commit intodevelopfrom
feature/event

Conversation

@wafla
Copy link
Copy Markdown
Member

@wafla wafla commented Jan 15, 2026

✨ 작업 내용

필드명이 일치하지 않는 부분을 수정했습니다.

Summary by CodeRabbit

릴리스 노트

  • 설명서

    • 이벤트 상세 정보 업데이트 API 문서에서 추가 필드 설명이 추가되었습니다.
  • 개선사항

    • API 응답 필드 명명을 더 명확하게 개선했습니다.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 15, 2026

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'auto_resolve_threads', 'spring_specific'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

요약

이벤트 상세 조회 API의 문서화와 응답 DTO의 필드명을 정리하는 변경사항입니다. API 설명에 버튼 관련 필드 정보를 추가하고, 응답 DTO의 이미지 URL 필드명을 개선했습니다.

변경 사항

코호트 / 파일 변경 요약
Events Detail API 문서화
EventsDetailApi.java
API 엔드포인트 설명에 "buttonVisible"과 "buttonText" 필드 정보 추가 (+2 줄)
Events Detail 응답 DTO
EventsDetailResponse.java
공개 필드명 변경: eventsDetailImgUrleventsDetailImgs (+1/-1 줄)

예상 코드 리뷰 난이도

🎯 2 (단순) | ⏱️ ~10분

관련된 가능성 있는 PR

제안 리뷰어

  • Junad-Park

🐰 래빗의 축시

버튼이 나타났다 사라졌다,
이미지는 좀 더 예쁜 이름으로,
작은 변화가 모여
시스템은 더 반짝반짝 ✨
문서도 맑아지고, 코드도 깔끔해! 🎉

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive PR 설명은 필수 섹션인 '작업 내용'을 포함하고 있지만, 매우 간단하며 템플릿의 구조를 충분히 따르지 않고 있습니다. 필드명 변경 사항에 대한 구체적인 설명과 리뷰 요구사항이 부족합니다. 작업 내용을 더 구체적으로 작성하고, 어느 필드가 어떻게 변경되었는지 명시하며, 필요시 리뷰 요구사항을 추가해주세요.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목은 필드명 불일치 문제 수정이라는 주요 변경사항을 명확하게 요약하고 있으며, 실제 변경 내용(eventsDetailImgUrl → eventsDetailImgs 필드명 변경)과 일치합니다.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/event


📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 995d7bb and ff1858f.

📒 Files selected for processing (2)
  • src/main/java/im/toduck/domain/events/detail/presentation/api/EventsDetailApi.java
  • src/main/java/im/toduck/domain/events/detail/presentation/dto/response/EventsDetailResponse.java
🔇 Additional comments (2)
src/main/java/im/toduck/domain/events/detail/presentation/api/EventsDetailApi.java (1)

58-60: 문서화가 정확하게 DTO와 일치합니다.

EventsDetailUpdateRequest DTO에 모든 문서화된 필드(buttonVisible, buttonText, eventsDetailImgs)가 정확히 정의되어 있으며, 필드명과 설명이 API 문서와 완벽하게 일치합니다. 문서화 개선이 적절히 반영되었습니다.

src/main/java/im/toduck/domain/events/detail/presentation/dto/response/EventsDetailResponse.java (1)

26-27: 필드명이 현재 코드베이스와 일치하며 breaking change 없음

eventsDetailImgUrl에서 eventsDetailImgs로 변경되었다는 주장과 달리, 코드베이스 전역에서 eventsDetailImgUrl은 존재하지 않습니다. eventsDetailImgs는 EventsDetailResponse, 요청 DTO, 엔티티, 서비스, 리포지토리, 테스트 코드에 걸쳐 일관되게 사용되는 현재의 필드명입니다. 따라서 breaking API 변경에 대한 우려는 해당되지 않습니다.

Likely an incorrect or invalid review comment.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


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 and usage tips.

@github-actions
Copy link
Copy Markdown

📝 Jacoco Test Coverage

Overall Project 50.49% 🍏
File Coverage
EventsDetailResponse.java 28.04% 🍏

@github-actions
Copy link
Copy Markdown

🧪 Test Results

397 tests  +397   393 ✅ +393   23s ⏱️ +23s
121 suites +121     4 💤 +  4 
121 files   +121     0 ❌ ±  0 

Results for commit ff1858f. ± Comparison against base commit 995d7bb.

kang20 added a commit that referenced this pull request Feb 23, 2026
- ScheduleAlram enum에 minutes 필드 추가 (TEN_MINUTE=10, THIRTY_MINUTE=30, ONE_DAY=1440)

- ScheduleReminderData 완성 (scheduleId, scheduleTitle, reminderType, isAllDay)

- ScheduleReminderJob 엔티티 생성 (중복 방지 유니크 제약 포함)

- ScheduleReminderJobRepository + QueryDSL Custom 구현
kang20 added a commit that referenced this pull request Feb 23, 2026
- ScheduleReminderNotificationEvent 생성 (종일/일반 메시지 분기)

- ScheduleReminderQuartzJob Quartz Job 구현

- ScheduleReminderSchedulerService Quartz 스케줄링 서비스 구현
kang20 added a commit that referenced this pull request Feb 23, 2026
- ScheduleCreated/Updated/DeletedEvent 도메인 이벤트 생성

- ScheduleReminderEventListener 이벤트 리스너 구현

- ScheduleModifyUseCase에 이벤트 발행 추가 (생성/수정/삭제)

- ScheduleReminderBatchSchedulerUseCase 일일 배치 스케줄러 구현

- ScheduleReadService에 활성 일정 조회 메서드 추가

- ScheduleRepositoryCustom에 findActiveSchedulesWithAlarmForDates 추가
kang20 added a commit that referenced this pull request Feb 23, 2026
- ScheduleAlramTest: enum 변환 단위 테스트

- ScheduleReminderSchedulerServiceTest: 스케줄링 로직 테스트 (8개)

- ScheduleReminderEventListenerTest: 이벤트 리스너 테스트 (6개)

- ScheduleEventTest: 도메인 이벤트 테스트 (9개)

- ScheduleReminderNotificationEventTest: 알림 이벤트 테스트 (6개)

- ScheduleReminderDataTest: 알림 데이터 테스트 (3개)

- LayeredArchitectureTest에 schedule event 패키지 제외 추가
@wafla wafla merged commit 0a3232c into develop Mar 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants