updated event and router stacks

This commit is contained in:
2025-04-22 00:57:06 +03:00
parent 35aab0ba11
commit 9069ba0754
40 changed files with 531 additions and 352 deletions

View File

@@ -0,0 +1,20 @@
from fastapi import APIRouter
def get_routes() -> list[APIRouter]:
from .people.route import people_route
from .user.route import user_route
return [
user_route,
people_route
]
def get_safe_endpoint_urls() -> list[tuple[str, str]]:
return [
("/", "GET"),
("/docs", "GET"),
("/redoc", "GET"),
("/openapi.json", "GET"),
("/metrics", "GET"),
]