12 lines
207 B
Python
12 lines
207 B
Python
from fastapi import FastAPI
|
|
from app.api.v1.router import router as v1_router
|
|
|
|
app = FastAPI()
|
|
|
|
app.include_router(v1_router, prefix="/api/v1")
|
|
|
|
|
|
@app.get("/ping")
|
|
async def ping() -> str:
|
|
return "Pong"
|