From a15a35a62589c8d1b25c4c964508fa077ed70df3 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Mon, 9 Nov 2020 21:22:19 +0100 Subject: [PATCH] Added missing setting. --- modoboa/core/commands/templates/settings.py.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/modoboa/core/commands/templates/settings.py.tpl b/modoboa/core/commands/templates/settings.py.tpl index 243658309..a404ca01d 100644 --- a/modoboa/core/commands/templates/settings.py.tpl +++ b/modoboa/core/commands/templates/settings.py.tpl @@ -191,6 +191,7 @@ REST_FRAMEWORK = { 'rest_framework.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication', ), + 'DEFAULT_SCHEMA_CLASS': 'drf_spectacular.openapi.AutoSchema', } SPECTACULAR_SETTINGS = {