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
As per my comment here: #161 (comment) this was something I tried but it doesn't play well with Swagger (or Redoc) nor does it work if you have multiple fields that come from the body. You will still need to create a class representing the body details like I mention, in which case my solution continues to work fine and doesn't need the attribute.
Version 3.1 sometimes had issues with request types being pulled from multiple locations (route, query, body).
Nick Chapsas shows a solution to this problem here. The MultiSourceAttribute.
I'm not sure if the problem still exists in v4, but if it does we should show how to use this attribute to address it.
References:
The text was updated successfully, but these errors were encountered: