Adding base logic for config handling. Adding example config to root

This commit is contained in:
Pascal Scheiben
2025-09-18 09:33:55 +02:00
parent 19e9cd6625
commit 76c5353afa
9 changed files with 57 additions and 8 deletions

View File

@@ -4,6 +4,7 @@ from .schema import ExampleSchema
router = APIRouter(tags=["example"])
@router.get("/example")
async def example_endpoint() -> ExampleSchema:
return ExampleSchema(example_field="foo", another_field=42)
return ExampleSchema(example_field="foo", another_field=42)