from [controller_namespace].repository import [repository]
from [controller_namespace].service import [service]
from ascender.core.types import ControllerModule
from ascender.core.utils.controller import Controller, Get


@Controller()
class [controller]:
    def __init__(self, [services_di]) -> None:
        [service_definition]

    @Get()
    async def get_app_endpoint(self):
        return await self.[service_name]_service.get_hello()


def setup() -> ControllerModule:
    return {
        "controller": [controller],
        "services": {
            [service_definition_secondary]
        },
        "repository": [repository],
        "plugin_configs": {
            # Configuration for plugins here...
        }
    }
