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
It would be helpful to have a single method, let's say ProducesDefaultProblem, that's takes a list of status codes and automatically call ProducesProblem methods for each one.
The text was updated successfully, but these errors were encountered:
Introduce a new extension method `ProducesDefaultProblem` for the
`RouteHandlerBuilder` class to simplify defining common error
responses.
Enhance `README.md` with
documentation and examples for the new method.
Often we have endpoints with multiple 4xx return values, each of which produces a
ProblemDetails
response:It would be helpful to have a single method, let's say
ProducesDefaultProblem
, that's takes a list of status codes and automatically callProducesProblem
methods for each one.The text was updated successfully, but these errors were encountered: