use of com.google.api.generator.gapic.model.GapicPackageInfo in project gapic-generator-java by googleapis.
the class Generator method generateGapic.
public static CodeGeneratorResponse generateGapic(CodeGeneratorRequest request) {
GapicContext context = Parser.parse(request);
List<GapicClass> clazzes = Composer.composeServiceClasses(context);
GapicPackageInfo packageInfo = Composer.composePackageInfo(context);
String outputFilename = "temp-codegen.srcjar";
return Writer.write(context, clazzes, packageInfo, outputFilename);
}
Aggregations