[CSharp] Unsupported Media Type
sandorfr opened this issue · comments
Currently if the server return an unexpected media type, the client will throw a NullReferenceException. This should return something like a UnexpectedMediaTypeApiException
and provide access to the body for logging and debugging purpose.