# coding: utf-8

from typing import Dict, List  # noqa: F401

from fastapi import (  # noqa: F401
    APIRouter,
    Body,
    Cookie,
    Depends,
    Form,
    Header,
    Path,
    Query,
    Response,
    Security,
    status,
)

from ecp4_msi_api_fast.models.extra_models import TokenModel  # noqa: F401
from ecp4_msi_api_fast.models.error_response import ErrorResponse
from ecp4_msi_api_fast.models.system import System


router = APIRouter(prefix="http://localhost:9292/v1")


@router.get(
    "/system",
    responses={
        200: {"model": System, "description": "System information retrieved successfully"},
        500: {"model": ErrorResponse, "description": "Internal Server Error - Unexpected server issue"},
    },
    tags=["system"],
    summary="Retrieve system status",
    response_model_by_alias=True,
)
async def get_system_information(
) -> System:
    """Fetch the current status of the system."""
    ...
