limit API docs to authenticated only
This commit is contained in:
parent
3f91d13fd2
commit
fa19c8cc3c
|
|
@ -244,6 +244,7 @@ SPECTACULAR_SETTINGS = {
|
||||||
"DESCRIPTION": "API documentation for Tube Archivist backend.",
|
"DESCRIPTION": "API documentation for Tube Archivist backend.",
|
||||||
"VERSION": TA_VERSION,
|
"VERSION": TA_VERSION,
|
||||||
"SERVE_INCLUDE_SCHEMA": False,
|
"SERVE_INCLUDE_SCHEMA": False,
|
||||||
|
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAuthenticated"],
|
||||||
}
|
}
|
||||||
|
|
||||||
# Logging configuration
|
# Logging configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue