from lib.services.api_gateway.apis_client import ApisClientInterface
from lib.api_schema.response.flava_services.api_gateway.v1_0 import (
    apis as schema,
)


class FlavaApisClient(ApisClientInterface):
    """Service client for the Flava API Gateway APIs resource.

    This client provides the schema and path to each API endpoint for dependency
    injection.

    For a full list of available parameters and endpoints, please refer to the
    official API reference.
    """

    def get_schema(self):
        """Provide the response schema of the APIs resource."""
        return schema

    def get_apis_path(self, project):
        """Provide the API endpoint path for APIs resource."""
        return f"/v1/projects/{project}/apis"
