def routes()

in src/lambdas/modular_api_handler/processors/tenant_in_region_processor.py [0:0]


    def routes(cls) -> tuple[Route, ...]:
        return (
            cls.route(
                Endpoint.TENANTS_NAME_REGIONS,
                HTTPMethod.GET,
                'get',
                response=(HTTPStatus.OK, RegionsResponse, None),
                permission=Permission.TENANT_DESCRIBE_REGION
            ),
            cls.route(
                Endpoint.TENANTS_NAME_REGIONS,
                HTTPMethod.POST,
                'post',
                response=(HTTPStatus.CREATED, RegionsResponse, None),
                permission=Permission.TENANT_CREATE_REGION
            ),
            cls.route(
                Endpoint.TENANTS_NAME_REGIONS,
                HTTPMethod.DELETE,
                'delete',
                response=(HTTPStatus.NO_CONTENT, None, None),
                permission=Permission.TENANT_DELETE_REGION
            )
        )