Renamed folder from example -> aggregate
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
# contains the router for the example endpoint
|
||||
from fastapi import APIRouter
|
||||
from .schema import ExampleSchema
|
||||
|
||||
router = APIRouter(tags=["example"])
|
||||
|
||||
|
||||
@router.get("/example")
|
||||
async def example_endpoint() -> ExampleSchema:
|
||||
return ExampleSchema(example_field="foo", another_field=42)
|
||||
Reference in New Issue
Block a user