Skip to content

Commit

Permalink
[Sttp] Update default version to 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostbuster91 committed Jun 16, 2020
1 parent 86150cb commit 4588362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/generators/scala-sttp.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_label: scala-sttp
| ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|apiPackage|package for generated api classes| |null|
|sttpClientVersion|Option. Allows to override default version of sttp client library.|2.1.5
|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
|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|
|jodaTimeVersion|Only if dateLibrary was set to joda. Allows to override default jodatime version.|2.10.6
|json4sVersion|Only if jsonLibrary was set to json4s. Allows to override default json4s version.|3.6.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

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

0 comments on commit 4588362

Please sign in to comment.