Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixing yaml file naming
  • Loading branch information
thiswasdumb committed Apr 10, 2026
commit 39178780433dbff1740ec3329e068b0a592af619
Original file line number Diff line number Diff line change
Expand Up @@ -1237,13 +1237,13 @@ public void disableGenerateJsonCreator() throws Exception {
assertFileNotContains(files.get("RequiredProperties.java").toPath(), "@JsonCreator");
}

@Test
@Test
public void testDiscriminatorMappingUsedInJsonTypeName() throws Exception {
File output = Files.createTempDirectory("test").toFile().getCanonicalFile();
output.deleteOnExit();

OpenAPI openAPI = new OpenAPIParser()
.readLocation("src/test/resources/3_0/jaxrs/pestore.yaml", null, new ParseOptions()).getOpenAPI();
.readLocation("src/test/resources/3_0/jaxrs/petstore.yaml", null, new ParseOptions()).getOpenAPI();

codegen.setOutputDir(output.getAbsolutePath());

Expand Down
Loading