Moving example files back to its place

This commit is contained in:
Pascal Scheiben
2025-09-18 10:39:36 +02:00
parent 615d290773
commit 73a42aae3b
6 changed files with 1 additions and 1 deletions

10
src/example/router.py Normal file
View File

@@ -0,0 +1,10 @@
# contains the router for the aggregate endpoint
from fastapi import APIRouter
from .schema import ExampleSchema
router = APIRouter(tags=["aggregate"])
@router.get("/example")
async def example_endpoint() -> ExampleSchema:
return ExampleSchema(example_field="foo", another_field=42)