Forum Discussion
No RepliesBe the first to reply
Related Content
- 4 years ago
- 2 years ago
- 11 months ago
Recent Discussions
- 8 days ago
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.