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
I'm pretty satisfied with drf-yasg, but unable to find the way to specify different serializer classes for request and response. By default Swagger UI shows the model derived from <view-set>.serializer_class value for both request and response no matter what serializer the response really uses.
Should I use ManualSchema or something?
The text was updated successfully, but these errors were encountered:
I'm pretty satisfied with drf-yasg, but unable to find the way to specify different serializer classes for request and response. By default Swagger UI shows the model derived from
<view-set>.serializer_class
value for both request and response no matter what serializer the response really uses.Should I use ManualSchema or something?
The text was updated successfully, but these errors were encountered: