Skip to main content

sorted-error-codes

Overview

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

Error codes must be sorted in an ascending/increasing order. If they are found to be out of order, they will be sorted automatically during the post-processing.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageOut of order error codes have been sorted.
CodeAPIMATICPOSTPROCESS_V303
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Responses
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic postprocessing validation error code sorting error response endpoint

Suggested Fixes

  • Make sure that all your error codes are in ascending order.
  • If an entry is out of order place it at the correct position.

For More Information