WinterFramework / winter

Web Framework with focus on python typing, dataclasses and modular design
MIT License
17 stars 18 forks source link

Add Meta class processing to PageSerializer #193

Closed LeonidKrutovsky closed 3 years ago

LeonidKrutovsky commented 3 years ago

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.