7 lines
172 B
Python
7 lines
172 B
Python
from fastapi import APIRouter, status
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/greet", status_code=status.HTTP_200_OK)
|
|
async def greet():
|
|
return {"message": "Good morning"} |