Re-enable the API root path and exclude it from schema introspection.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
17acb444bd
commit
ff9e291cd7
@@ -11,6 +11,8 @@ from .serializers import EndpointSerializer
|
||||
|
||||
|
||||
class APIRoot(APIView):
|
||||
swagger_schema = None
|
||||
|
||||
def get(self, request, format=None):
|
||||
"""
|
||||
Return a list of all users.
|
||||
|
||||
Reference in New Issue
Block a user