hassanhabib / RESTFulSense

A RESTFul operations client that serializes responses and throws meaningful exceptions for >= 400 status codes.
https://www.restfulsense.com
237 stars 51 forks source link

MAJOR FIX: Serialize Problem Details #165

Closed ElbekDeveloper closed 8 months ago

ElbekDeveloper commented 8 months ago

Background

When we are handling bad request, RESTFulSense.WebAssembly is not giving us the errors and proper message:

image image

Expectation

These are what we are getting, while I was expecting: image

Solution

I fixed the model and added serialization options in case it is ignoring based on the casing of the API response