"""FastAPI application entrypoint. Thin by design: wire settings and routers, expose the OpenAPI contract. All domain logic lives in the service layer (added with the data model). The versioned API will mount under ``/api/v1``; health probes stay at the root. """ from fastapi import FastAPI from app.api.health import router as health_router from app.core.config import get_settings def create_app() -> FastAPI: settings = get_settings() app = FastAPI( title=settings.app_name, version=settings.version, description="Provenance API — family and land provenance.", ) app.include_router(health_router) return app app = create_app()