use of com.google.api.codegen.configgen.mergers.ProtoConfigMerger in project toolkit by googleapis.
the class ConfigGeneratorApi method generateConfig.
private Map<String, String> generateConfig(String outputPath) {
ConfigNode node = new ProtoConfigMerger().mergeConfig(model, outputPath);
ConfigGenerator configGenerator = new ConfigGenerator(0);
configGenerator.visit(node);
return ImmutableMap.of(outputPath, configGenerator.toString());
}
Aggregations