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:
Michael Price
2018-03-13 16:51:30 -04:00
committed by Roberto Rosario
parent 17acb444bd
commit ff9e291cd7
3 changed files with 6 additions and 6 deletions

View File

@@ -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.