Skip to content

[Refactor] Feed 목록 조회 API를 커서 기반 표준 응답 구조로 변경 #61

Description

@jae-2024

목적

  • 프론트가 마지막 요소를 직접 꺼내 커서로 사용해야 함
  • hasNext 여부를 프론트에서 판단하기 어려움
  • 타입 자동 추론(OpenAPI / TypeScript) 시 확장성이 떨어짐

세부 내용 설명

  • GET /api/feeds 응답 구조를 List → FeedCursorResponse로 변경
  • 응답을 배열이 아닌 객체로 래핑
  • 다음 페이지 조회를 위한 nextCursorId, nextCursorCreatedAt, hasNext 필드 추가
  • Swagger 문서 스키마 수정

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions