"""System router."""

from fastapi import APIRouter, Depends
from capinvest_core.api.dependency.system import get_system_settings
from capinvest_core.app.model.system_settings import SystemSettings
from typing_extensions import Annotated

router = APIRouter(prefix="/system", tags=["System"])


@router.get("")
async def get_system_model(
    system_settings: Annotated[SystemSettings, Depends(get_system_settings)],
):
    """Get system model."""
    return system_settings
