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