Update code in endpoints/greeting.get.py
This commit is contained in:
parent
4e0ecaf2c4
commit
2e2d4e3e5b
7
endpoints/greeting.get.py
Normal file
7
endpoints/greeting.get.py
Normal file
@ -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"}
|
Loading…
x
Reference in New Issue
Block a user