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