Update code in endpoints/greets.get.py
This commit is contained in:
parent
36a513ac25
commit
059a7bcba5
7
endpoints/greets.get.py
Normal file
7
endpoints/greets.get.py
Normal file
@ -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"}
|
Loading…
x
Reference in New Issue
Block a user