Skip to main content

non-empty-pagination-output

Overview

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

The output field in the cursor pagination object must be a valid, non-empty JSON pointer string. It should reference a field in the API response that provides the pagination output, such as a next cursor value.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe output field in the cursor pagination object is missing or empty.
CodeOPENAPI3APIMATIC_L1006
TypeLinting
Rule SystemSemantic
Broad CategoryPagination
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting pagination output cursor response endpoint

Suggested Fixes

  • Provide a valid, non-empty JSON pointer in the output field.
  • The pointer should reference a response field that provides the next cursor value for pagination.

For More Information