Skip to content

fix(afternote): mock 목록 픽스처 페이지 키 pageNumber→page 정합 #451

Closed as not planned

Description

@OnlyReadOneBook

📜 Overview (Required)

Mock 모드 목록 응답 픽스처(AfternoteMockFixtures.kt, debug 소스셋)의 페이지 필드 키가 "pageNumber"로 들어가 있으나, Swagger 명세와 실제 파싱 DTO(AfternoteDto.kt의 @SerialName("page") val page)의 확정 키는 page다. 픽스처를 명세 확정값으로 정합한다.

현재는 ignoreUnknownKeys = true(NetworkModule) 덕에 pageNumber가 조용히 무시되고 page가 기본값 0으로 채워지는데, 픽스처 값도 0이라 증상이 가려져 있는 상태 — 페이징 픽스처를 0 이외 페이지로 확장하는 순간 mock 동작이 어긋난다.

📍 Note (Optional)

Activity

  1. OnlyReadOneBook commented on Jul 20, 2026

    @OnlyReadOneBook
    CollaboratorAuthor

    폐기: mock 모드 전면 제거(#489 / PR #513)로 픽스처 자체가 사라져 페이지 키 정합이 무의미해졌습니다. 대체: #513.

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions