You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However if I use the /testfiltered if returns a response of:
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400
}
While debugging I can see that it gets to the ProblemDetailsServiceAwareResult.ExecuteAsync method as the Microsoft.AspNetCore.Http.HttpValidationProblemDetails but then the extra validation properties are lost.
Even explicitly using that type as the Value type, it doesn't solve the problem.
Hi @DamianEdwards,
I'm trying to use the ProblemDetailsServiceEndpointFilter inside of this repository and it mostly works great.
When I run the API, calling /test it returns a response of:
However if I use the /testfiltered if returns a response of:
While debugging I can see that it gets to the
ProblemDetailsServiceAwareResult.ExecuteAsync
method as theMicrosoft.AspNetCore.Http.HttpValidationProblemDetails
but then the extra validation properties are lost.Even explicitly using that type as the Value type, it doesn't solve the problem.
Any help would be appreciated.
Regards,
Damien.
Program.cs:
The text was updated successfully, but these errors were encountered: