Update code in endpoints/greet.get.py
This commit is contained in:
parent
d69c1e4b86
commit
36a513ac25
7
endpoints/greet.get.py
Normal file
7
endpoints/greet.get.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
from fastapi import APIRouter, status
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.get("/greet", status_code=status.HTTP_200_OK)
|
||||||
|
async def greet():
|
||||||
|
return {"message": "Good morning"}
|
Loading…
x
Reference in New Issue
Block a user