Skip to content

[FEATURE] 공지사항 api 개발#28

Merged
sunm2n merged 11 commits into
devfrom
feat/#20-notification-api
May 19, 2026
Merged

[FEATURE] 공지사항 api 개발#28
sunm2n merged 11 commits into
devfrom
feat/#20-notification-api

Conversation

@sunm2n
Copy link
Copy Markdown
Contributor

@sunm2n sunm2n commented May 18, 2026

요약

커서 기반 페이지네이션을 적용한 공지사항 목록·상세 조회 API를 구현했습니다.

  • 고정 공지(pinned) 우선, 이후 최신순 정렬
  • Base64 인코딩 커서로 keyset 페이지네이션 구현
  • size 파라미터 범위 검증 (1~50, @Validated 방식)
  • 잘못된 커서·pinned 변조 시 NOTICE_002 400 응답 처리
  • GlobalExceptionHandlerConstraintViolationException, HandlerMethodValidationException 핸들러 추가
  • Controller / Service 단위 테스트 작성

스웨거 테스트

공지사항 목록 조회

image

공지사항 상세 조회

image

연관 이슈 및 Close 할 이슈 작성

close #20

Pull Request 체크리스트

TODO

  • 최종 결과물을 확인했는가?
  • 의미 있는 커밋 메시지를 작성했는가?

@sunm2n sunm2n self-assigned this May 18, 2026
@sunm2n sunm2n requested review from kbh0218 and minsoo0506 May 18, 2026 12:00
@sunm2n sunm2n added the feature 새로운 기능/특징 label May 18, 2026
@sunm2n sunm2n changed the title [Feat] 공지사항 API 구현 / IssueNum #20 [FEATURE] 공지사항 api 개발 May 18, 2026
Copy link
Copy Markdown

@minsoo0506 minsoo0506 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

큰 이슈는 없는 것 같습니다! Conflict 해결만 되면 바로 머지하셔도 좋을 것 같습니다!

# Conflicts:
#	src/main/java/com/linclean/global/exception/ErrorCode.java
#	src/main/java/com/linclean/global/exception/GlobalExceptionHandler.java
@sunm2n sunm2n merged commit 27efed3 into dev May 19, 2026
@sunm2n sunm2n deleted the feat/#20-notification-api branch May 19, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature 새로운 기능/특징

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] 공지사항 api 개발

2 participants