Skip to main content

pagination-type-required

Overview

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

Every pagination extension must specify a type field indicating the pagination strategy. Supported values are "offset", "page", "cursor", and "link". Without a type, the pagination configuration cannot be validated or applied.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe pagination type is missing or null in the pagination extension.
CodeOPENAPI3APIMATIC_L1011
TypeLinting
Rule SystemSemantic
Broad CategoryPagination
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting pagination type response endpoint

Suggested Fixes

  • Specify a type field in the pagination extension.
  • Supported pagination types are: "offset", "page", "cursor", and "link".

For More Information