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