class TaskGenerateOpenApi extends AbstractTaskConnectGenerator {

    @Override
    public void execute() throws ExecutionFailedException {
        OpenApiSpecGenerator openApiSpecGenerator = new OpenApiSpecGenerator(
                readApplicationProperties());
        openApiSpecGenerator.generateOpenApiSpec(
                Collections.singletonList(javaSourceFolder.toPath()),
                classLoader, output.toPath());
    }

      TaskGenerateOpenApi(File properties, File javaSourceFolder,
            ClassLoader classLoader, File output);

}