intelligentplant / ProblemDetails.WebApi

Adds RFC 7807 support to ASP.NET 4.x Web API applications.
Apache License 2.0
1 stars 3 forks source link

Fix Status Code Bug #5

Closed agilenut closed 3 years ago

agilenut commented 3 years ago

Fixed issue that prevented the CreateProblemDetailsResponse from returning the given status code.

Ensured middleware uses status code set in the ProblemDetailsFactory.

Updated Example controller to use a status code other than the one that was hard-coded for testing