Skip to content

Commit 98468ab

Browse files
authored
minor improvemetns to new scala client generator (#19786)
1 parent fbebfeb commit 98468ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,7 @@ Here is a list of template creators:
10451045
* Scala (sttp): @chameleon82
10461046
* Scala (sttp4): @flsh86
10471047
* Scala (Pekko): @mickaelmagniez
1048+
* Scala (http4s): @JennyLeahy
10481049
* Swift: @tkqubo
10491050
* Swift 3: @hexelon
10501051
* Swift 4: @ehyche

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ScalaHttp4sClientCodegen.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
22
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
3-
* Copyright 2018 SmartBear Software
43
*
54
* Licensed under the Apache License, Version 2.0 (the "License");
65
* you may not use this file except in compliance with the License.
@@ -240,7 +239,7 @@ public void processOpts() {
240239
this.importMapping.put("Instant", "java.time.Instant");
241240
this.importMapping.put("OffsetDateTime", "java.time.OffsetDateTime");
242241
additionalProperties.put("java8", "true");
243-
} else {
242+
} else {
244243
String error = "DateLibrary " + dateLibrary + " is not supported. Please use java8";
245244
LOGGER.error(error);
246245
throw new RuntimeException(error);

0 commit comments

Comments
 (0)