Closed
Description
I have noticed that, when sending an incorrect request (e.g. an object with a string where a number is expected), MediaType.cast
and MediaType.unmarshal
will raise InvalidMediaTypeValue
in all cases, which is actually misleading: the media type is correct (e.g. application/json
), but the validation raises an incorrect error. Was that on purpose?
Metadata
Metadata
Assignees
Labels
No labels