Skip to content

Commit 4588362

Browse files
committed
[Sttp] Update default version to 2.2.0
1 parent 86150cb commit 4588362

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/generators/scala-sttp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar_label: scala-sttp
77
| ------ | ----------- | ------ | ------- |
88
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
99
|apiPackage|package for generated api classes| |null|
10-
|sttpClientVersion|Option. Allows to override default version of sttp client library.|2.1.5
10+
|sttpClientVersion|Option. Allows to override default version of sttp client library. Minimal version required for this project to compile is 2.2.0 |2.2.0
1111
|dateLibrary|Option. Date library to use|<dl><dt>**joda**</dt><dd>Joda (for legacy app)</dd><dt>**java8**</dt><dd>Java 8 native JSR310 (prefered for JDK 1.8+)</dd></dl>|java8|
1212
|jodaTimeVersion|Only if dateLibrary was set to joda. Allows to override default jodatime version.|2.10.6
1313
|json4sVersion|Only if jsonLibrary was set to json4s. Allows to override default json4s version.|3.6.8

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
public class ScalaSttpClientCodegen extends AbstractScalaCodegen implements CodegenConfig {
4444
private static final StringProperty STTP_CLIENT_VERSION = new StringProperty("sttpClientVersion", "The version of " +
45-
"sttp client", "2.1.5");
45+
"sttp client", "2.2.0");
4646
private static final BooleanProperty USE_SEPARATE_ERROR_CHANNEL = new BooleanProperty("separateErrorChannel",
4747
"Whether to return response as " +
4848
"F[Either[ResponseError[ErrorType], ReturnType]]] or to flatten " +

0 commit comments

Comments
 (0)