valid-response-content-media-type
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
Response content media type must be non-null and non-empty.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Invalid media type found. |
Code | APIMATICPRE_V305 |
Type | Validation |
Rule System | Semantic |
Broad Category | Endpoint Responses |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic response content response endpoint |
Suggested Fixes
- Make sure that the response media type is not null or empty.