From 059a7bcba5bfcfc0dfa2808185d266c4f49735e5 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Fri, 28 Mar 2025 18:54:05 +0100 Subject: [PATCH] Update code in endpoints/greets.get.py --- endpoints/greets.get.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 endpoints/greets.get.py 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