Skip to content

new rule: verify paging links only exist on collection routes (Section 6.6) #67

@ghost

Description

Per Section 6.6 of JSON:API v1:

The following keys MUST be used for pagination links:

first: the first page of data
last: the last page of data
prev: the previous page of data
next: the next page of data

Keys MUST either be omitted or have a null value to indicate that a particular link is unavailable.

A new rule needs to created to verify these link names only exist on collection routes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions