The new version of drf-yasg includes a rule that prohibits implicit serializer name conflicts. Now you can't have one serializer overriding another serializer in the documentation. To explicitly allow this behavior or resolve the conflict, you need to add nested class Meta to the serializer.
The new version of drf-yasg includes a rule that prohibits implicit serializer name conflicts. Now you can't have one serializer overriding another serializer in the documentation. To explicitly allow this behavior or resolve the conflict, you need to add nested class Meta to the serializer.