Skip to content

Conversation

@coldsunn
Copy link
Collaborator

@coldsunn coldsunn commented Jan 13, 2026

📝 요약(Summary)

  • GET /calendar?year&month : 연도와 월을 파라미터로 지정하면 해당 월의 답변 날짜 + 감정 코드 응답
  • GET /calendar/recents : 최근 답변 6개 미리보기 (날짜 내림차순)
  • GET /calendar/{date} : 특정 날짜의 답변 미리보기

세가지 api 구현 완료했습니다. 쿼리 메서드의 경우 이전의 검색 기능 개발할 때와 방식이 비슷합니다.
미리보기의 경우 response를 이전의 검색 API에서 사용한 것을 재사용하였습니다.

🔗 Related Issue

  • Closes:

💬 공유사항

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 제목을 커밋 메시지 컨벤션에 맞게 작성했습니다.

월 단위 감정 코드 조회, 최근 n개 답변 조회, 특정 날짜 답변 조회 쿼리 메서드 추가, 기존처럼 DTO Projection 사용
비슷한 로직의 경우 기존 response dto를 재활용, 특정 월의 답변이 있는 날짜와 감정 코드 조회, 최근기록 6개까지 미리보기, 특정 날짜 답변 미리보기 API 구현, 예전
감정 코드로 문서가 작성되어 있는 부분 수정
PathVariable 타입 변환 실패 시 발생하는 MethodArgumentTypeMismatchException를 처리하여 기존 500 에러 대신 400
VALIDATION_FAILED 반환되도록 개선
@1Seob
Copy link
Collaborator

1Seob commented Jan 13, 2026

굳굳
머지 고고!

@coldsunn coldsunn merged commit ef5099a into develop Jan 13, 2026
1 check passed
@coldsunn coldsunn deleted the feat/calendar branch January 13, 2026 07:52
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.

3 participants