27042026/main.py
akarkode 8c6b1a9a3f
Some checks failed
SCA - pip-audit / pip-audit (push) Failing after 2m41s
initial: dummy fastapi for SCA testing
2026-04-27 16:49:57 +07:00

12 lines
208 B
Python

from fastapi import FastAPI
app = FastAPI(title="DSF Dummy API")
@app.get("/")
def root():
return {"message": "AppSec - SCA Test Project"}
@app.get("/health")
def health():
return {"status": "ok"}