Fixing typos
This commit is contained in:
committed by
Magel, Denis
parent
ab52169987
commit
72992d651d
@@ -7,10 +7,14 @@ logger = logging.getLogger("uvicorn")
|
|||||||
router = APIRouter(tags=["config"])
|
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:
|
async def create_config(config: ConfigSchema) -> ConfigSchema:
|
||||||
"""
|
"""
|
||||||
Endpoint to receive and store configuration data.
|
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")
|
logger.info("Received configuration data")
|
||||||
return config
|
return config
|
||||||
|
|||||||
Reference in New Issue
Block a user