-
Notifications
You must be signed in to change notification settings - Fork 601
'AutoSchema' object has no attribute 'get_link' #808
Comments
I ran into the same issue, the fix is described here: https://www.django-rest-framework.org/community/3.10-announcement/ To summarize, Django Rest Framework 3.10 (released a few days ago) deprecated the CoreAPI based schema generation, and introduced the OpenAPI schema generation in its place. Currently to continue to use django-rest-swagger as is you need to re-enable the CoreAPI schema generation by adding the following config to the settings file:
|
Actually it looks like this project is deprecated so the better answer might be to switch to drf_yasg, this looks to work fine without the additional config. |
@jhonatanTeixeira Last activity seems to be 9 months ago... so seems like this wont be updated anymore. |
@jhonatanTeixeira could you adjust the title to say something about DRF >=3.10? Thank you! |
Hello, i got this configuration on my urls.py
However i get this error 'AutoSchema' object has no attribute 'get_link' when i visit localhost:8000/
heres the trace:
what am i doing wrong?
The text was updated successfully, but these errors were encountered: