Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageInvalid media type found.
CodeAPIMATICPRE_V305
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Responses
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic response content response endpoint

Suggested Fixes

  • Make sure that the response media type is not null or empty.

For More Information