diff --git a/endpoints/greeting.get.py b/endpoints/greeting.get.py new file mode 100644 index 0000000..14f0d1d --- /dev/null +++ b/endpoints/greeting.get.py @@ -0,0 +1,7 @@ +from fastapi import APIRouter, status + +router = APIRouter() + +@router.get("/greeting", status_code=status.HTTP_200_OK) +async def greet(): + return {"message": "Good morning"} \ No newline at end of file