From 8f397fec4ae9b426c5eefdbc79d73c53617ac3f1 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Thu, 22 Sep 2022 11:12:11 +0200 Subject: [PATCH] fix swagger --- rowsandall_app/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rowsandall_app/settings.py b/rowsandall_app/settings.py index ef9855ab..ac70ff84 100644 --- a/rowsandall_app/settings.py +++ b/rowsandall_app/settings.py @@ -464,6 +464,7 @@ REST_FRAMEWORK = { ), 'PAGE_SIZE': 20, 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', + 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.coreapi.AutoSchema', } SWAGGER_SETTINGS = {