production-evyos-systems-an.../ServicesApi/Builds/TestApi/endpoints/routes.py

18 lines
405 B
Python

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