Skip to content

Commit

Permalink
Fixes issue swagger-api#7177 (SpringCodeGen dateLibrary "java8-locald…
Browse files Browse the repository at this point in the history
…atetime" option is ignored). (swagger-api#7178)
  • Loading branch information
Neeme Praks authored and viclovsky committed Jan 23, 2018
1 parent f9b1aa7 commit 4ecfd99
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -296,10 +296,6 @@ public void processOpts() {
if (this.async) {
additionalProperties.put(RESPONSE_WRAPPER, "CompletableFuture");
}
typeMapping.put("date", "LocalDate");
typeMapping.put("DateTime", "OffsetDateTime");
importMapping.put("LocalDate", "java.time.LocalDate");
importMapping.put("OffsetDateTime", "java.time.OffsetDateTime");
} else if (this.async) {
additionalProperties.put(RESPONSE_WRAPPER, "Callable");
}
Expand Down

0 comments on commit 4ecfd99

Please sign in to comment.