Encoding is not applicable to the media type of the request body

Issue ID: v3-warning-media-type-encoding

Description

The encoding you have defined is not applicable to the defined media type of the request body. The encoding only applies to requestBody object when the media type is either multipart or application/x-www-form-urlencoded.

For more details, see the OpenAPI Specification.

Remediation

Make sure that the media type of the request body is multipart or application/x-www-form-urlencoded to apply the encoding.