Fixing typos

This commit is contained in:
Pascal Scheiben
2025-09-18 12:10:29 +02:00
parent 2fb893df90
commit d5c2ee172f

View File

@@ -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