From d5c2ee172f62986d109e3d3fbb6021a9efd6bd3d Mon Sep 17 00:00:00 2001 From: Pascal Scheiben Date: Thu, 18 Sep 2025 12:10:29 +0200 Subject: [PATCH] Fixing typos --- src/config/router.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config/router.py b/src/config/router.py index b2da53f..57679a6 100644 --- a/src/config/router.py +++ b/src/config/router.py @@ -7,10 +7,14 @@ logger = logging.getLogger("uvicorn") router = APIRouter(tags=["config"]) -@router.post("/config", response_model=ConfigReturnSchema) +@router.post( + "/config", summary="Upload a configuration", response_model=ConfigReturnSchema +) async def create_config(config: ConfigSchema) -> ConfigSchema: """ Endpoint to receive and store configuration data. + + ⚠️ at this time the configuration is not stored anywhere. It's like logging to /dev/null """ logger.info("Received configuration data") return config