Skip to main content

valid-pagination-type

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

The pagination type defined for the response must be one of the supported types: "offset", "page", "cursor", or "link". Any other value is considered invalid.

PropertyValue
EnabledYes
Maximum SeverityError
MessageInvalid pagination type specified in the response.
CodeOPENAPI3APIMATIC_L1000
TypeLinting
Rule SystemSemantic
Broad CategoryPagination
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting pagination type response endpoint offset page cursor link

Suggested Fixes

  • Set the pagination type to one of the supported values: "offset", "page", "cursor", or "link".
  • Remove or correct any invalid pagination type values.

For More Information