Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
In 2016, the IETF published this rfc: Problem Details for HTTP APIs
I think it should be considered to have a way of quickly enable error response format in the AutoWrapper that aligns with this RFC.
Here is an article that explains it a bit, and links to a middleware that implements this already: https://lurumad.github.io/problem-details-an-standard-way-for-specifying-errors-in-http-api-responses-asp.net-core
@sondreb just released a new version to support ProblemDetails. You can find it here: AutoWrapper Now Supports Problem Details For Your ASP.NET Core APIs
Thank you so much for all your suggestions on improving this middleware! :)