chore(api): add API metadata (#1723)
This commit is contained in:
parent
d698ace89f
commit
cbcd0abcae
|
@ -45,3 +45,9 @@ USE_L10N = True
|
|||
USE_TZ = True
|
||||
|
||||
LOGGING = setup_logger(LIBRETIME_LOG_FILEPATH)
|
||||
|
||||
SPECTACULAR_SETTINGS = {
|
||||
"TITLE": "LibreTime API",
|
||||
"DESCRIPTION": "Radio Broadcast & Automation Platform",
|
||||
"VERSION": API_VERSION,
|
||||
}
|
||||
|
|
|
@ -98,7 +98,6 @@ AUTH_USER_MODEL = "libretime_api.User"
|
|||
|
||||
TEST_RUNNER = "libretime_api.tests.runners.ManagedModelTestRunner"
|
||||
|
||||
|
||||
# Logging
|
||||
def setup_logger(log_filepath: Optional[str]):
|
||||
logging_handlers = {
|
||||
|
|
Loading…
Reference in New Issue