Initial commit

This commit is contained in:
Nyeki
2026-07-24 22:27:22 +00:00
commit 6ed4195803
27 changed files with 2037 additions and 0 deletions
View File
+13
View File
@@ -0,0 +1,13 @@
from fastapi import APIRouter
from project.api.v1.example.schemas import MessageSchema
router = APIRouter(tags=["Example"])
@router.get("/hello")
async def hello_world() -> MessageSchema:
"""An example API endpoint that returns a hello world message."""
return MessageSchema(message="Hello, World!")
+5
View File
@@ -0,0 +1,5 @@
from pydantic import BaseModel
class MessageSchema(BaseModel):
message: str