From 0528087335dc08f1d6934357d4d28f716e4c9728 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Fri, 28 Mar 2025 14:42:46 +0000 Subject: [PATCH] Update code in endpoints/chy.get.py --- endpoints/chy.get.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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