wag-managment-api-service-v.../ApiEvents/ValidationServiceApi/route_configs.py

19 lines
571 B
Python

"""
Route configuration registry for Event Service.
This module collects and registers all route configurations from different modules
to be used by the dynamic route creation system.
"""
from typing import Dict, List, Any, TypeVar
from .events.validation.endpoints import VALIDATION_CONFIG
from .events.available.endpoints import AVAILABLE_CONFIG
# Registry of all route configurations
ROUTE_CONFIGS = [VALIDATION_CONFIG, AVAILABLE_CONFIG]
def get_route_configs() -> List[Dict[str, Any]]:
"""Get all registered route configurations."""
return ROUTE_CONFIGS