non-empty-response-content-media-type
Overview
This rule belongs to the apimatic-post-processing-validation ruleset and states that:
Response content media type must be non-null and non-empty.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Invalid media type entry has been removed from the responses. |
| Code | APIMATICPOSTPROCESS_V302 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoint Responses |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | apimatic postprocessing validation response content response endpoint |
Suggested Fixes
- Make sure that the response media type is not null or empty.