from lib.services.api_gateway.projects_client import ProjectsClientInterface
from lib.api_schema.response.flava_services.api_gateway.v1_0 import (
    projects as schema,
)


class FlavaProjectsClient(ProjectsClientInterface):
    """Service client for the Flava API Gateway Projects resource.

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

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

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