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