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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Out of order error codes have been sorted. |
| Code | APIMATICPOSTPROCESS_V303 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoint Responses |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | apimatic 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.