use of com.palantir.conjure.java.types.ObjectGenerator in project conjure-java by palantir.
the class UndertowServiceEteTest method beforeClass.
@BeforeAll
public static void beforeClass() throws IOException {
ConjureDefinition def = Conjure.parse(ImmutableList.of(new File("src/test/resources/ete-service.yml"), new File("src/test/resources/ete-binary.yml"), new File("src/test/resources/alias-test-service.yml")));
Options options = Options.builder().undertowServicePrefix(true).nonNullCollections(true).excludeEmptyOptionals(true).build();
List<Path> files = new GenerationCoordinator(MoreExecutors.directExecutor(), ImmutableSet.of(new UndertowServiceGenerator(options), new ObjectGenerator(options))).emit(def, folder);
validateGeneratorOutput(files, Paths.get("src/integrationInput/java/com/palantir/product"));
}
Aggregations