File size: 308 Bytes
f1f0b30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""FastAPI server stub (v0.3)."""

from __future__ import annotations


def create_app():  # pragma: no cover
    from fastapi import FastAPI

    app = FastAPI(title="AETHER-Ad Genesis API", version="0.2.0")

    @app.get("/health")
    def health() -> dict:
        return {"status": "ok"}

    return app