mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +00:00
20 lines
485 B
Python
20 lines
485 B
Python
|
from fastapi import FastAPI
|
||
|
|
||
|
from .settings import SETTINGS
|
||
|
|
||
|
app = FastAPI(
|
||
|
title="Advent22 API",
|
||
|
description="This API enables the `Advent22` service.",
|
||
|
contact={
|
||
|
"name": "Jörn-Michael Miehe",
|
||
|
"email": "jmm@yavook.de",
|
||
|
},
|
||
|
license_info={
|
||
|
"name": "MIT License",
|
||
|
"url": "https://opensource.org/licenses/mit-license.php",
|
||
|
},
|
||
|
openapi_url=SETTINGS.openapi_url,
|
||
|
docs_url=SETTINGS.docs_url,
|
||
|
redoc_url=SETTINGS.redoc_url,
|
||
|
)
|