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

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.


Copyright 42Crunch 2021