public static <T> String render(ClassPluginDocumentation<T> classPluginDocumentation) throws IOException {
        return render("task", JacksonMapper.toMap(classPluginDocumentation));
    }
@SuppressWarnings("unchecked")
    @Test
    void taskRunner() throws IOException {
        PluginScanner pluginScanner = new PluginScanner(ClassPluginDocumentationTest.class.getClassLoader());
        RegisteredPlugin scan = pluginScanner.scan();
        Class<Process> processTaskRunner = scan.findClass(Process.class.getName()).orElseThrow();

        ClassPluginDocumentation<? extends TaskRunner> doc = ClassPluginDocumentation.of(jsonSchemaGenerator, scan, processTaskRunner, TaskRunner.class);

        String render = DocumentationGenerator.render(doc);

        assertThat(render, containsString("title: Process"));
        assertThat(render, containsString("Task runner that executes a task as a subprocess on the Kestra host."));
    }