diff --git a/src/config/router.py b/src/config/router.py index 0c9b0c2..b2da53f 100644 --- a/src/config/router.py +++ b/src/config/router.py @@ -10,7 +10,7 @@ router = APIRouter(tags=["config"]) @router.post("/config", response_model=ConfigReturnSchema) async def create_config(config: ConfigSchema) -> ConfigSchema: """ - Endpoint to receive and return configuration data. + Endpoint to receive and store configuration data. """ logger.info("Received configuration data") return config diff --git a/src/config/schema.py b/src/config/schema.py index d59c311..fb6e2f1 100644 --- a/src/config/schema.py +++ b/src/config/schema.py @@ -1,4 +1,4 @@ -# contains the schema definitions for the aggregate service +# contains the schema definitions for the config service from pydantic import BaseModel diff --git a/src/config/service.py b/src/config/service.py index cd81419..e5b650f 100644 --- a/src/config/service.py +++ b/src/config/service.py @@ -1,3 +1,3 @@ -# contains the business logic for the aggregate service -async def example_service() -> str: - return "This is an aggregate service" +# contains the business logic for the config service +async def save_config() -> None: + ...