diff --git a/endpoints/chy.get.py b/endpoints/chy.get.py index e69de29..5163282 100644 --- a/endpoints/chy.get.py +++ b/endpoints/chy.get.py @@ -0,0 +1,12 @@ +# Entity: Scream + +from fastapi import APIRouter, status +from schemas.scream import ScreamResponse +from helpers.scream_helpers import generate_scream + +router = APIRouter() + +@router.get("/chy", status_code=200, response_model=ScreamResponse) +async def get_scream(): + """Returns a screaming response""" + return generate_scream() \ No newline at end of file