[Answered ]-How can I hide fields in auto-generated schemas, or define schemas explicitly?

1👍

You can set the ref_name of the nested serializer’s Meta class to None as answered here:
https://github.com/axnsan12/drf-yasg/issues/239#issuecomment-442629230

👤Kyell

Leave a comment