Encoding object can only be defined for 'multipart/*' and 'application/x-www-form-urlencoded' media types
Issue ID: v3-validation-media-type-encoding-restriction
Description
You have defined an encoding object for an object which media type does not allow an encoding object. Encoding object is only applicable to request body objects with multipart/*
and application/x-www-form-urlencoded
media types.
For more details, see the OpenAPI Specification.
Remediation
Make sure you only define encoding object for request body objects with multipart/*
and application/x-www-form-urlencoded
media types.