Disable the root API path as this confuses Swagger which then groups all endpoints into a single dropdown.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
764a80fab2
commit
d173f9f863
@@ -6,7 +6,11 @@ from .api_views import APIRoot, BrowseableObtainAuthToken
|
||||
|
||||
|
||||
api_urls = [
|
||||
url(r'^$', APIRoot.as_view(), name='api_root'),
|
||||
# FIXME: Defining a root API path confuses Swagger which then
|
||||
# groups all endpoints into a single dropdown. Disable until a
|
||||
# workaround is found for Swagger.
|
||||
|
||||
# url(r'^$', APIRoot.as_view(), name='api_root'),
|
||||
url(
|
||||
r'^auth/token/obtain/$', BrowseableObtainAuthToken.as_view(),
|
||||
name='auth_token_obtain'
|
||||
|
||||
Reference in New Issue
Block a user