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
Hi,
In my project, I heavily use jsonview to return different response for each endpoint for same resource.
For example - I have an resource called Student. In first end point I may return only 5 attributes and in second endpoint I may return additional 2 attributes.
When I try swagger, it generates the doc for whole object, not for the view.
I tried to google and not getting enough details whether swagger supports jsonview. Can you please let me know how to get it resolved?
The text was updated successfully, but these errors were encountered:
Hi, atm JsonView is not supported in swagger; such support is however considered for future release as it is a quite requested features, as in #479 and #2079 (any PR in this area is welcome).
Closing as duplicate of #479 and #2079
Hi,
In my project, I heavily use jsonview to return different response for each endpoint for same resource.
For example - I have an resource called Student. In first end point I may return only 5 attributes and in second endpoint I may return additional 2 attributes.
When I try swagger, it generates the doc for whole object, not for the view.
I tried to google and not getting enough details whether swagger supports jsonview. Can you please let me know how to get it resolved?
The text was updated successfully, but these errors were encountered: