Contributions
How to generate api document for custom name methods, django rest framework, yasg?
class BaseClass(views.APIView): def get(self): return self.processGet() def processGet(self): return class CustomClass(BaseClass): def processGet(self): print("This is custom GET method") return I want to have a API documentation for processGet method of CustomClass only. How can I achieve that. I have tried with swagger_auto_schema decorator to specify method="get" but it says we can not specify method to non-ApiView classes.413Views0likes0Comments