def make_output_path (type_name, type_root_namespace, type_namespace):
    """Create the output path for a generated class file.

    Args:
        type_name (str): Name of the class.
        type_namespace (str): The class's namespace.

    Returns:
        str: The output file path.

    """

    return f'../{type_root_namespace}/{type_namespace}/{type_name}.generated.cs'