Schemas updated

This commit is contained in:
2025-04-02 18:53:33 +03:00
parent 27c48bb86a
commit 3583d178e9
38 changed files with 2672 additions and 28 deletions

View File

@@ -1,12 +1,8 @@
from fastapi import Request, Response
def get_safe_endpoint_urls() -> list:
return []
from ApiServices.TemplateService.endpoints.routes import get_safe_endpoint_urls
async def token_middleware(request: Request, call_next):
# from application.routes.routes import get_safe_endpoint_urls
base_url = "/".join(request.url.path.split("/")[:3])
safe_endpoints = [_[0] for _ in get_safe_endpoint_urls()]