-
Notifications
You must be signed in to change notification settings - Fork 2
feat: create schedule v2 #68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Walkthrough스케줄 관련 API의 V2 버전이 새롭게 도입되었습니다. 새로운 컨트롤러, 요청 DTO, 서비스 메서드, 도메인 팩토리 메서드가 추가되었으며, Swagger 문서화 인터페이스도 포함됩니다. 주요 변경점은 V2 요청/응답 구조와 검증, 그리고 allDay 필드의 기본값 지정입니다. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant ControllerV2
participant Service
participant Domain
Client->>ControllerV2: POST /api/v2/schedule (ScheduleCreateRequestV2)
ControllerV2->>Service: createScheduleV2(userId, request)
Service->>Domain: Schedule.newScheduleV2(...)
Domain-->>Service: Schedule
Service-->>ControllerV2: ScheduleResponse
ControllerV2-->>Client: ApiResponse<ScheduleResponse>
Client->>ControllerV2: PUT /api/v2/schedule/{id} (ScheduleUpdateRequestV2)
ControllerV2->>Service: updateScheduleV2(userId, id, request)
Service->>Domain: (조회 및 복사, 검증)
Domain-->>Service: Schedule
Service-->>ControllerV2: ScheduleResponse
ControllerV2-->>Client: ApiResponse<ScheduleResponse>
Suggested labels
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (4)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
a55f428 to
d83c554
Compare
요약(개요)
작업 내용
집중해서 리뷰해야 하는 부분
기타 전달 사항 및 참고 자료(선택)
Summary by CodeRabbit
신규 기능
문서화
버그 수정