Files
prod-wag-backend-automate-s…/api_services/api_builds/restriction_service/endpoints/routes.py
2025-05-13 18:29:02 +03:00

16 lines
345 B
Python

from fastapi import APIRouter
from .pages.router import pages_route
def get_routes() -> list[APIRouter]:
return [pages_route]
def get_safe_endpoint_urls() -> list[tuple[str, str]]:
return [
("/", "GET"),
("/docs", "GET"),
("/redoc", "GET"),
("/openapi.json", "GET"),
("/metrics", "GET"),
]