Skip to content

Commit

Permalink
minor improvemetns to new scala client generator (OpenAPITools#19786)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored Oct 5, 2024
1 parent fbebfeb commit 98468ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,7 @@ Here is a list of template creators:
* Scala (sttp): @chameleon82
* Scala (sttp4): @flsh86
* Scala (Pekko): @mickaelmagniez
* Scala (http4s): @JennyLeahy
* Swift: @tkqubo
* Swift 3: @hexelon
* Swift 4: @ehyche
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
* Copyright 2018 SmartBear Software
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -240,7 +239,7 @@ public void processOpts() {
this.importMapping.put("Instant", "java.time.Instant");
this.importMapping.put("OffsetDateTime", "java.time.OffsetDateTime");
additionalProperties.put("java8", "true");
} else {
} else {
String error = "DateLibrary " + dateLibrary + " is not supported. Please use java8";
LOGGER.error(error);
throw new RuntimeException(error);
Expand Down

0 comments on commit 98468ab

Please sign in to comment.