Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
관련 이슈
PR 설명
작업 내용
1. API 명세 구현 (
ReportController)POST /v1/reportReportReqcontent: 제보 내용 (String).{ "content": "링크 저장이 안 되고 400 에러가 계속 뜹니다." }200 OK(성공 메시지 반환).ReportApi인터페이스에@Valid,@NotBlank등을 적용하여 내용 누락 방지2. 비즈니스 로직 (Layered Architecture)
ReportService:ReportCommandService를 호출하는Facade역할 수행ReportCommandService:Report엔티티를 생성하고 리포지토리를 통해 저장하는 로직 담당3. 테스트 작성
ReportApiIntegrationTest):ReportServiceTest: CommandService 호출 위임 검증.ReportCommandServiceTest: Repository 저장 로직 검증.