christophsturm12/08/2020, 10:29 PM
but when i send a json body to my server where one field name is misspelled, I get a 500 internal server error reply instead.
// Respond with "415 Unsupported Media Type" if content cannot be transformed on receive
but that one is internal. or it could subclass ContentTransformationException and throw that. ContentTransformationException could maybe have a field for the http status code that should be returned.