Add get endpoint for /yolodi
This commit is contained in:
parent
81be79ff37
commit
c356841733
11
endpoints/yolodi.get.py
Normal file
11
endpoints/yolodi.get.py
Normal file
@ -0,0 +1,11 @@
|
||||
# Entity: None - Simple Text Response
|
||||
|
||||
from fastapi import APIRouter, status
|
||||
from typing import Dict
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
@router.get("/yolodi", status_code=status.HTTP_200_OK, response_model=Dict[str, str])
|
||||
async def get_yoloo():
|
||||
"""Return yoloo message"""
|
||||
return {"message": "yoloo!!"}
|
Loading…
x
Reference in New Issue
Block a user