Disable authentication to access swagger UI

This commit is contained in:
Antoine Nguyen
2025-10-09 16:48:03 +02:00
parent a503e30132
commit f63aecbc32
3 changed files with 2 additions and 7 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ SPECTACULAR_SETTINGS = {
"SCHEMA_PATH_PREFIX": r"/api/v[0-9]",
"TITLE": "Modoboa API",
"VERSION": None,
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAuthenticated"],
"SERVE_AUTHENTICATION": [],
}
# Modoboa settings