diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
index 613c81a48be..cb0e972ae37 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.gradle.mustache
@@ -126,15 +126,15 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- compile 'io.swagger:swagger-annotations:1.5.21'
- compile 'com.squareup.okhttp3:okhttp:3.13.1'
- compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
+ compile 'io.swagger:swagger-annotations:1.5.22'
+ compile 'com.squareup.okhttp3:okhttp:3.14.2'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
compile 'com.google.code.gson:gson:2.8.5'
compile 'io.gsonfire:gson-fire:1.8.3'
{{#hasOAuthMethods}}
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
{{/hasOAuthMethods}}
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
{{#joda}}
compile 'joda-time:joda-time:2.9.9'
{{/joda}}
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
index f83f149e920..80a53397e3a 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/build.sbt.mustache
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
- "io.swagger" % "swagger-annotations" % "1.5.21",
- "com.squareup.okhttp3" % "okhttp" % "3.13.1",
- "com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
+ "io.swagger" % "swagger-annotations" % "1.5.22",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.2",
+ "com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
"com.google.code.gson" % "gson" % "2.8.5",
- "org.apache.commons" % "commons-lang3" % "3.8.1",
+ "org.apache.commons" % "commons-lang3" % "3.9",
{{#hasOAuthMethods}}
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
{{/hasOAuthMethods}}
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
index eac0a4e1ba2..84b97f52c77 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
@@ -298,9 +298,9 @@
${java.version}
1.8.3
1.5.21
- 3.14.0
+ 3.14.2
2.8.5
- 3.8.1
+ 3.9
{{#joda}}
2.9.9
{{/joda}}
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
index 21590dd5662..229b37b48cc 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.gradle
@@ -98,13 +98,13 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- compile 'io.swagger:swagger-annotations:1.5.21'
- compile 'com.squareup.okhttp3:okhttp:3.13.1'
- compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
+ compile 'io.swagger:swagger-annotations:1.5.22'
+ compile 'com.squareup.okhttp3:okhttp:3.14.2'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
compile 'com.google.code.gson:gson:2.8.5'
compile 'io.gsonfire:gson-fire:1.8.3'
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile 'org.threeten:threetenbp:1.3.5'
testCompile 'junit:junit:4.12'
}
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
index 6f9c7fa962b..ea38e20bc43 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
- "io.swagger" % "swagger-annotations" % "1.5.21",
- "com.squareup.okhttp3" % "okhttp" % "3.13.1",
- "com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
+ "io.swagger" % "swagger-annotations" % "1.5.22",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.2",
+ "com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
"com.google.code.gson" % "gson" % "2.8.5",
- "org.apache.commons" % "commons-lang3" % "3.8.1",
+ "org.apache.commons" % "commons-lang3" % "3.9",
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml b/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
index 0353247b020..30df3d74268 100644
--- a/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/pom.xml
@@ -256,9 +256,9 @@
${java.version}
1.8.3
1.5.21
- 3.14.0
+ 3.14.2
2.8.5
- 3.8.1
+ 3.9
1.3.8
1.0.0
4.12
diff --git a/samples/client/petstore/java/okhttp-gson/build.gradle b/samples/client/petstore/java/okhttp-gson/build.gradle
index 6f451be8dfd..0206cad9df4 100644
--- a/samples/client/petstore/java/okhttp-gson/build.gradle
+++ b/samples/client/petstore/java/okhttp-gson/build.gradle
@@ -98,13 +98,13 @@ if(hasProperty('target') && target == 'android') {
}
dependencies {
- compile 'io.swagger:swagger-annotations:1.5.21'
- compile 'com.squareup.okhttp3:okhttp:3.13.1'
- compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
+ compile 'io.swagger:swagger-annotations:1.5.22'
+ compile 'com.squareup.okhttp3:okhttp:3.14.2'
+ compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
compile 'com.google.code.gson:gson:2.8.5'
compile 'io.gsonfire:gson-fire:1.8.3'
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
+ compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
compile 'org.threeten:threetenbp:1.3.5'
testCompile 'junit:junit:4.12'
}
diff --git a/samples/client/petstore/java/okhttp-gson/build.sbt b/samples/client/petstore/java/okhttp-gson/build.sbt
index c5fea6a50ba..17e9ba0e59c 100644
--- a/samples/client/petstore/java/okhttp-gson/build.sbt
+++ b/samples/client/petstore/java/okhttp-gson/build.sbt
@@ -9,11 +9,11 @@ lazy val root = (project in file(".")).
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
- "io.swagger" % "swagger-annotations" % "1.5.21",
- "com.squareup.okhttp3" % "okhttp" % "3.13.1",
- "com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
+ "io.swagger" % "swagger-annotations" % "1.5.22",
+ "com.squareup.okhttp3" % "okhttp" % "3.14.2",
+ "com.squareup.okhttp3" % "logging-interceptor" % "3.14.2",
"com.google.code.gson" % "gson" % "2.8.5",
- "org.apache.commons" % "commons-lang3" % "3.8.1",
+ "org.apache.commons" % "commons-lang3" % "3.9",
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1",
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
diff --git a/samples/client/petstore/java/okhttp-gson/pom.xml b/samples/client/petstore/java/okhttp-gson/pom.xml
index 8d13db0ce55..a716cc878d7 100644
--- a/samples/client/petstore/java/okhttp-gson/pom.xml
+++ b/samples/client/petstore/java/okhttp-gson/pom.xml
@@ -249,9 +249,9 @@
${java.version}
1.8.3
1.5.21
- 3.14.0
+ 3.14.2
2.8.5
- 3.8.1
+ 3.9
1.3.8
1.0.0
4.12