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
|
USE_TZ = True
|
||||||
|
|
||||||
LOGGING = setup_logger(LIBRETIME_LOG_FILEPATH)
|
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"
|
TEST_RUNNER = "libretime_api.tests.runners.ManagedModelTestRunner"
|
||||||
|
|
||||||
|
|
||||||
# Logging
|
# Logging
|
||||||
def setup_logger(log_filepath: Optional[str]):
|
def setup_logger(log_filepath: Optional[str]):
|
||||||
logging_handlers = {
|
logging_handlers = {
|
||||||
|
|
Loading…
Reference in New Issue