limit API docs to authenticated only

This commit is contained in:
Simon 2025-11-08 18:42:54 +07:00
parent 3f91d13fd2
commit fa19c8cc3c
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ SPECTACULAR_SETTINGS = {
"DESCRIPTION": "API documentation for Tube Archivist backend.",
"VERSION": TA_VERSION,
"SERVE_INCLUDE_SCHEMA": False,
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAuthenticated"],
}
# Logging configuration