001 Project structure
This commit is contained in:
@@ -0,0 +1 @@
|
||||
"""HTTP layer components."""
|
||||
@@ -0,0 +1,7 @@
|
||||
"""Controller-level HTTP client factory."""
|
||||
|
||||
from httpx import AsyncClient
|
||||
|
||||
|
||||
def build_controller_http_client(timeout_seconds: float) -> AsyncClient:
|
||||
return AsyncClient(timeout=timeout_seconds)
|
||||
@@ -0,0 +1,10 @@
|
||||
"""HTTP middleware registration."""
|
||||
|
||||
from fastapi import FastAPI
|
||||
|
||||
|
||||
def install_middleware(app: FastAPI) -> None:
|
||||
"""Register middleware components for the API."""
|
||||
|
||||
# Middleware stack is introduced in later tasks.
|
||||
_ = app
|
||||
@@ -0,0 +1 @@
|
||||
"""Versioned API controllers."""
|
||||
@@ -0,0 +1,5 @@
|
||||
"""Delivery API controller skeleton."""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(prefix="/delivery", tags=["delivery"])
|
||||
Reference in New Issue
Block a user