Skip to main content

cursor-input-cursor-output-types-should-match

Overview

This rule belongs to the apimatic-codegen-validation ruleset and states that:

The input and output fields in a cursor-based pagination object must have matching schema types. For example, if the input field is of type string, the output field must also be of type string.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe schema types for cursor input and output fields don't match.
CodeAPIMATICCODEGEN_V111
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Responses
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic pagination input output type response endpoint

For More Information