unique-error-codes
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that: 
The errors defined for an endpoint (globally or within the endpoint) must have unique HTTP status codes.
| Property | Value | 
|---|---|
| Enabled | Yes | 
| Maximum Severity | Error | 
| Message | Duplicate definition found for error code. | 
| Code | APIMATICPRE_V304 | 
| Type | Validation | 
| Rule System | Semantic | 
| Broad Category | Endpoint Responses | 
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer | 
| Tags | preliminary checks validation apimatic http status error response endpoint api | 
Suggested Fixes
- Keep one and remove all other error definitions which have the same status codes.