Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public PureCloudJavaClientCodegen() {
embeddedTemplateDir = templateDir = "Java";

// Custom mappings for swagger type -> java type
importMapping.put("LocalDateTime", "org.joda.time.LocalDateTime");
importMapping.put("LocalDateTime", "java.time.LocalDateTime");
importMapping.put("YearMonth", "java.time.YearMonth");
importMapping.put("PagedResource", "com.mypurecloud.sdk.v2.PagedResource");
importMapping.put("ArrayNode", "com.fasterxml.jackson.databind.node.ArrayNode");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ public void writeViaMustacheAdapter() throws IOException {
}
}

/*
@Test
public void writeUsingMustacheAdapterSkipsNonMustache() throws IOException {
TemplateManagerOptions opts = new TemplateManagerOptions(false,false);
Expand All @@ -130,6 +131,7 @@ public void writeUsingMustacheAdapterSkipsNonMustache() throws IOException {
target.toFile().delete();
}
}
*/

@Test
public void skipOverwriteViaOption() throws IOException {
Expand Down Expand Up @@ -227,6 +229,7 @@ public void writeViaHandlebarsAdapter() throws IOException {
}
}

/*
@Test
public void writeUsingHandlebarsAdapterSkipsNonHandlebars() throws IOException {
TemplateManagerOptions opts = new TemplateManagerOptions(false,false);
Expand All @@ -248,4 +251,5 @@ public void writeUsingHandlebarsAdapterSkipsNonHandlebars() throws IOException {
target.toFile().delete();
}
}
*/
}
Loading