You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently DRF-docs (and other toolkits I could find) only work with APIView or subclasses. I have an application based on the Django REST Framework, but I am also using django-oauth-toolkit for authorization, which means all my views are based on ProtectedResourceView, which is not a subclass of APIView.
Are you aware of any self-documenting api tools that work with ProtectedResourceView, or do you have any plans to support this in the near future?
The text was updated successfully, but these errors were encountered:
Checking the source code (for a completely different reason) I found that, for instance, ViewSets inherit from APIView, even when the methods thew expose are completely different (create vs. post, for instance). Maybe you can also inherit from them?
Currently DRF-docs (and other toolkits I could find) only work with APIView or subclasses. I have an application based on the Django REST Framework, but I am also using django-oauth-toolkit for authorization, which means all my views are based on ProtectedResourceView, which is not a subclass of APIView.
Are you aware of any self-documenting api tools that work with ProtectedResourceView, or do you have any plans to support this in the near future?
The text was updated successfully, but these errors were encountered: