Update code in endpoints/yolo.get.py
This commit is contained in:
parent
fa31b76455
commit
8494a6308b
10
endpoints/yolo.get.py
Normal file
10
endpoints/yolo.get.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Entity: Yolo
|
||||||
|
|
||||||
|
from fastapi import APIRouter, status
|
||||||
|
|
||||||
|
router = APIRouter()
|
||||||
|
|
||||||
|
@router.get("/yolo", status_code=status.HTTP_200_OK)
|
||||||
|
async def get_yolo():
|
||||||
|
"""Return yoloo!"""
|
||||||
|
return {"message": "yoloo!"}
|
Loading…
x
Reference in New Issue
Block a user