Conversation
📝 WalkthroughWalkthrough
Changes자기소개서 질문 저장 API(API-011) 전체 구현
Possibly related issues
Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
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 `@docs/api/cover-letters.md`:
- Around line 294-295: The VALIDATION_ERROR message example in the documentation
at line 294 shows "요청 값이 올바르지 않습니다." but this does not match the actual response
message from the implementation which is "입력값이 올바르지 않습니다." according to the PR
description. Update the message field value in the VALIDATION_ERROR example to
use "입력값이 올바르지 않습니다." instead to ensure consistency between the documentation
and the actual implementation.
🪄 Autofix (Beta)
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: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 9e117fbd-6e3c-40aa-a8cc-2cef5060900e
📒 Files selected for processing (15)
docs/api/README.mddocs/api/cover-letters.mddocs/status.mdsrc/main/java/com/daon/rewrite/coverletter/controller/CoverLetterController.javasrc/main/java/com/daon/rewrite/coverletter/dto/SaveQuestionsRequest.javasrc/main/java/com/daon/rewrite/coverletter/dto/SaveQuestionsResponse.javasrc/main/java/com/daon/rewrite/coverletter/entity/CoverLetter.javasrc/main/java/com/daon/rewrite/coverletter/entity/CoverLetterQuestion.javasrc/main/java/com/daon/rewrite/coverletter/repository/CoverLetterQuestionRepository.javasrc/main/java/com/daon/rewrite/coverletter/service/CoverLetterService.javasrc/main/java/com/daon/rewrite/coverletter/service/SaveQuestionInput.javasrc/main/java/com/daon/rewrite/coverletter/service/SaveQuestionsResult.javasrc/test/java/com/daon/rewrite/coverletter/controller/CoverLetterControllerTest.javasrc/test/java/com/daon/rewrite/coverletter/repository/CoverLetterQuestionRepositoryTest.javasrc/test/java/com/daon/rewrite/coverletter/service/CoverLetterServiceTest.java
작업 내용
PUT /cover-letters/{coverLetterId}/questionsAPI를 추가했습니다.cover_letter_questionsJPA entity/repository를 추가해 등록 step3 문항과 원본 답변을 저장합니다.questions배열을 전체 replace 방식으로 저장하고, 서버가order를 1부터 재부여하도록 구현했습니다.question,maxAnswerLength,originalAnswervalidation과 field별 details 응답을 추가했습니다.스크린샷
1. test 전 coverLetter db 확인_스크린샷에 표시한 coverLetterId로 question 생성 api test 진행
<img width="1221" height="241" alt="스크린샷 2026-06-19 오후 6 54 35" src="https://github.com/user-attachments/assets/ab1f4

cc8-3ef0-4f9f-b7f9-543439a334c3" />
2. @PutMapping("/cover-letters/{coverLetterId}/questions") api 요청 진행
maxAnswerLength 은 100 이상이어야 정상 처리됨

3. @PutMapping("/cover-letters/{coverLetterId}/questions") api 요청 진행
4. cover_letter_questions table 확인
관련 이슈
문서 반영
docs/api/README.mddocs/api/cover-letters.mddocs/status.md확인 결과
git diff --check./gradlew test./gradlew checkSummary by CodeRabbit
릴리스 노트
New Features
Documentation
Tests
Chores