Files
marriage/services/payments/src/app/main.py

12 lines
262 B
Python

from fastapi import FastAPI
from .api.routes.ping import router as ping_router
app = FastAPI(title="PAYMENTS Service")
@app.get("/health")
def health():
return {"status": "ok", "service": "payments"}
# v1 API
app.include_router(ping_router, prefix="/v1")