diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache index 901dae3171f..a1e09a4637a 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/feign/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache index 2b2cc3d93ce..a849d22bedc 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/google-api-client/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache index fa3ead60a2d..fa375253daa 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache index 5f07e56716e..e6c7b8e57d0 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, 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 bcb6af0c516..b5f934fa8c3 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 @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache index c8bda6e65ac..9c268485750 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/rest-assured/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache index b1b216b8cd4..3b2b1086a27 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache index 93d7f43f3b1..c7113662a39 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/retrofit2/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache index 31b4262231f..36753f63262 100644 --- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache +++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/build.mustache @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" {{#useSwaggerUI}} libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" diff --git a/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache index 985a27026f2..32c4603cf0e 100644 --- a/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-akka-client/build.sbt.mustache @@ -2,8 +2,8 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.12.13" -crossScalaVersions := Seq(scalaVersion.value, "2.13.4") +scalaVersion := "2.12.20" +crossScalaVersions := Seq(scalaVersion.value, "2.13.16") libraryDependencies ++= Seq( diff --git a/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache index b6f1149a402..eaca841e2be 100644 --- a/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-akka-http-server/build.sbt.mustache @@ -1,7 +1,7 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.12.8" +scalaVersion := "2.12.20" libraryDependencies ++= Seq({{#useApachePekko}} "org.apache.pekko" %% "pekko-stream" % "1.0.3", diff --git a/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt b/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt index 70c61651640..23bdb60d69e 100644 --- a/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt +++ b/modules/openapi-generator/src/main/resources/scala-http4s-server/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "2.13.11" +scalaVersion := "2.13.16" scalacOptions += "-Ymacro-annotations" val circeVersion = "0.14.5" @@ -18,7 +18,7 @@ val cats = Seq("org.typelevel" %% "cats-core" % catsVersion) lazy val compilerPlugins = Seq( compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"), - compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full) + compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full) ) libraryDependencies ++= (Seq( diff --git a/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache index af5c5a47f38..bfac2d7dd40 100644 --- a/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-http4s/build.sbt.mustache @@ -1,4 +1,4 @@ -scalaVersion := "3.3.3" +scalaVersion := "3.6.4" version := "{{artifactVersion}}" name := "{{artifactId}}" diff --git a/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache index bb0967c5d25..2a9a8d5e3aa 100644 --- a/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-pekko-client/build.sbt.mustache @@ -2,7 +2,7 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.13.12" +scalaVersion := "2.13.16" val PekkoVersion = "1.0.2" libraryDependencies ++= Seq( diff --git a/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache index c6122070664..fdeb50cedae 100644 --- a/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-play-server/build.sbt.mustache @@ -1,7 +1,7 @@ organization := "{{groupId}}" version := "{{artifactVersion}}" name := "{{artifactId}}" -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" enablePlugins(PlayScala) diff --git a/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache index b99fa95cf5b..b7a40f8682a 100644 --- a/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-sttp/build.sbt.mustache @@ -2,8 +2,8 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client3" %% "core" % "{{sttpClientVersion}}", diff --git a/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache index 2c5216a8b88..d915432ab27 100644 --- a/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scala-sttp4/build.sbt.mustache @@ -2,8 +2,8 @@ version := "{{artifactVersion}}" name := "{{artifactId}}" organization := "{{groupId}}" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client4" %% "core" % "{{sttpClientVersion}}", diff --git a/modules/openapi-generator/src/main/resources/scalatra/build.mustache b/modules/openapi-generator/src/main/resources/scalatra/build.mustache index e6f0b6381fb..0aff1c3a50e 100644 --- a/modules/openapi-generator/src/main/resources/scalatra/build.mustache +++ b/modules/openapi-generator/src/main/resources/scalatra/build.mustache @@ -1,7 +1,7 @@ organization := "{{groupId}}" name := "{{groupId}}-{{artifactId}}" version := "{{artifactVersion}}" -scalaVersion := "2.12.4" +scalaVersion := "2.12.20" mainClass in assembly := Some("JettyMain") diff --git a/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache b/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache index 0153bb64d34..2a1ba3cd168 100644 --- a/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache +++ b/modules/openapi-generator/src/main/resources/scalaz/build.sbt.mustache @@ -1,4 +1,4 @@ -scalaVersion := "2.11.8" +scalaVersion := "2.11.12" val http4sVersion = "0.15.12a" val scalazVersion = "7.2.12" diff --git a/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache b/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache index 9c6c436dd0c..0962ac80182 100644 --- a/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache +++ b/modules/openapi-generator/src/test/resources/2_0/templates/Java/libraries/jersey2/build.sbt.mustache @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "{{groupId}}", name := "{{artifactId}}", version := "{{artifactVersion}}", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/feign-gson/build.sbt b/samples/client/echo_api/java/feign-gson/build.sbt index 404cf675521..a86ad0e0ec5 100644 --- a/samples/client/echo_api/java/feign-gson/build.sbt +++ b/samples/client/echo_api/java/feign-gson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "echo-api-feign-json", version := "0.1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt index 3dc0c731979..f4136e440d6 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/okhttp-gson/build.sbt b/samples/client/echo_api/java/okhttp-gson/build.sbt index d906ef556dd..24010ac139c 100644 --- a/samples/client/echo_api/java/okhttp-gson/build.sbt +++ b/samples/client/echo_api/java/okhttp-gson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "echo-api-okhttp-gson", version := "0.1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/echo_api/java/resteasy/build.sbt b/samples/client/echo_api/java/resteasy/build.sbt index ddb3a9e8ba9..f3a95907d7e 100644 --- a/samples/client/echo_api/java/resteasy/build.sbt +++ b/samples/client/echo_api/java/resteasy/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-resteasy-echo", version := "0.1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt b/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt index ce81568d784..78f0c7496d2 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt +++ b/samples/client/others/java/jersey2-oneOf-Mixed/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt b/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt index ce81568d784..78f0c7496d2 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt +++ b/samples/client/others/java/jersey2-oneOf-duplicates/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt b/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt index 34b39f4f3ac..0e740753d9e 100644 --- a/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt +++ b/samples/client/others/java/okhttp-gson-oneOf-array/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/okhttp-gson-oneOf/build.sbt b/samples/client/others/java/okhttp-gson-oneOf/build.sbt index 34b39f4f3ac..0e740753d9e 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/build.sbt +++ b/samples/client/others/java/okhttp-gson-oneOf/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/others/java/okhttp-gson-streaming/build.sbt b/samples/client/others/java/okhttp-gson-streaming/build.sbt index 6e20a926e61..dc4f0037fb9 100644 --- a/samples/client/others/java/okhttp-gson-streaming/build.sbt +++ b/samples/client/others/java/okhttp-gson-streaming/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/feign-no-nullable/build.sbt b/samples/client/petstore/java/feign-no-nullable/build.sbt index c6117f7eecb..41a62040ce0 100644 --- a/samples/client/petstore/java/feign-no-nullable/build.sbt +++ b/samples/client/petstore/java/feign-no-nullable/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-feign-no-nullable", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/feign/build.sbt b/samples/client/petstore/java/feign/build.sbt index b14b14a81f0..b7a2c2113c7 100644 --- a/samples/client/petstore/java/feign/build.sbt +++ b/samples/client/petstore/java/feign/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-feign", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/google-api-client/build.sbt b/samples/client/petstore/java/google-api-client/build.sbt index 71b7f673938..3b960a90d8c 100644 --- a/samples/client/petstore/java/google-api-client/build.sbt +++ b/samples/client/petstore/java/google-api-client/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-google-api-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt b/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt index 3c54441eae1..8df2920ae9a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-jersey2-java8-localdatetime", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey2-java8/build.sbt b/samples/client/petstore/java/jersey2-java8/build.sbt index 990eb0f811e..d6162fe9327 100644 --- a/samples/client/petstore/java/jersey2-java8/build.sbt +++ b/samples/client/petstore/java/jersey2-java8/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey3-oneOf/build.sbt b/samples/client/petstore/java/jersey3-oneOf/build.sbt index c42ceb1a41f..fe0013f9758 100644 --- a/samples/client/petstore/java/jersey3-oneOf/build.sbt +++ b/samples/client/petstore/java/jersey3-oneOf/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi-java-client", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/jersey3/build.sbt b/samples/client/petstore/java/jersey3/build.sbt index 693ad5c7208..781f8ab14b3 100644 --- a/samples/client/petstore/java/jersey3/build.sbt +++ b/samples/client/petstore/java/jersey3/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-jersey3", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt b/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt index 554a4b24b7a..1f9cbad62d5 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-3.1-duplicated-operationid/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-31-do", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-3.1/build.sbt b/samples/client/petstore/java/okhttp-gson-3.1/build.sbt index 8292518b0af..b647cc20ae3 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-3.1/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-31", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt index 2b4d28067c9..5b1450db8aa 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "okhttp-gson-awsv4signature", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt index b040987a156..a5e5d86db37 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-dynamicoperations", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt b/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt index dc790e2d7ce..20545f57494 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-group-parameter", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt b/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt index 525685bb811..b7456bb5908 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "nullable-required-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt index b7eecdfb4a7..ebe4f58bf4c 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson-parcelableModel", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt b/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt index df1dd030741..186823ff8e1 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-swagger1/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt b/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt index df1dd030741..186823ff8e1 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt +++ b/samples/client/petstore/java/okhttp-gson-swagger2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/okhttp-gson/build.sbt b/samples/client/petstore/java/okhttp-gson/build.sbt index df1dd030741..186823ff8e1 100644 --- a/samples/client/petstore/java/okhttp-gson/build.sbt +++ b/samples/client/petstore/java/okhttp-gson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-okhttp-gson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/rest-assured-jackson/build.sbt b/samples/client/petstore/java/rest-assured-jackson/build.sbt index 1337514fec5..96fa6aa06dc 100644 --- a/samples/client/petstore/java/rest-assured-jackson/build.sbt +++ b/samples/client/petstore/java/rest-assured-jackson/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-rest-assured-jackson", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/rest-assured/build.sbt b/samples/client/petstore/java/rest-assured/build.sbt index 29b308f74a9..9fe2ac94db3 100644 --- a/samples/client/petstore/java/rest-assured/build.sbt +++ b/samples/client/petstore/java/rest-assured/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-rest-assured", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/resteasy/build.sbt b/samples/client/petstore/java/resteasy/build.sbt index 6b605b726c6..49e927d9b92 100644 --- a/samples/client/petstore/java/resteasy/build.sbt +++ b/samples/client/petstore/java/resteasy/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-resteasy", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2-play26/build.sbt b/samples/client/petstore/java/retrofit2-play26/build.sbt index 4e83a7a5690..94758723911 100644 --- a/samples/client/petstore/java/retrofit2-play26/build.sbt +++ b/samples/client/petstore/java/retrofit2-play26/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-java-client-retrofit2-play26", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2/build.sbt b/samples/client/petstore/java/retrofit2/build.sbt index 94efc426328..2c67635ae16 100644 --- a/samples/client/petstore/java/retrofit2/build.sbt +++ b/samples/client/petstore/java/retrofit2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-retrofit2", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2rx2/build.sbt b/samples/client/petstore/java/retrofit2rx2/build.sbt index 65f6d85108f..b25bb2c3ee0 100644 --- a/samples/client/petstore/java/retrofit2rx2/build.sbt +++ b/samples/client/petstore/java/retrofit2rx2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-retrofit2-rx2", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/java/retrofit2rx3/build.sbt b/samples/client/petstore/java/retrofit2rx3/build.sbt index 89557ecc5e2..28bb9d6849c 100644 --- a/samples/client/petstore/java/retrofit2rx3/build.sbt +++ b/samples/client/petstore/java/retrofit2rx3/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-retrofit2-rx3", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/client/petstore/scala-akka/build.sbt b/samples/client/petstore/scala-akka/build.sbt index 06fb099f826..e7cc509a5ff 100644 --- a/samples/client/petstore/scala-akka/build.sbt +++ b/samples/client/petstore/scala-akka/build.sbt @@ -2,8 +2,8 @@ version := "1.0.0" name := "scala-akka-petstore-client" organization := "org.openapitools" -scalaVersion := "2.12.13" -crossScalaVersions := Seq(scalaVersion.value, "2.13.4") +scalaVersion := "2.12.20" +crossScalaVersions := Seq(scalaVersion.value, "2.13.16") libraryDependencies ++= Seq( diff --git a/samples/client/petstore/scala-http4s/build.sbt b/samples/client/petstore/scala-http4s/build.sbt index c74943d3ae7..61e6bc38e6c 100644 --- a/samples/client/petstore/scala-http4s/build.sbt +++ b/samples/client/petstore/scala-http4s/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "3.3.3" +scalaVersion := "3.6.4" version := "1.0.0" name := "scala-http4s-client" diff --git a/samples/client/petstore/scala-pekko/build.sbt b/samples/client/petstore/scala-pekko/build.sbt index cb4a564ca24..c5832f45ca3 100644 --- a/samples/client/petstore/scala-pekko/build.sbt +++ b/samples/client/petstore/scala-pekko/build.sbt @@ -2,7 +2,7 @@ version := "1.0.0" name := "scala-pekko-petstore-client" organization := "org.openapitools" -scalaVersion := "2.13.12" +scalaVersion := "2.13.16" val PekkoVersion = "1.0.2" libraryDependencies ++= Seq( diff --git a/samples/client/petstore/scala-sttp/build.sbt b/samples/client/petstore/scala-sttp/build.sbt index a3e629330e7..36997bae72a 100644 --- a/samples/client/petstore/scala-sttp/build.sbt +++ b/samples/client/petstore/scala-sttp/build.sbt @@ -2,8 +2,8 @@ version := "1.0.0" name := "scala-sttp-petstore" organization := "org.openapitools" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client3" %% "core" % "3.3.18", diff --git a/samples/client/petstore/scala-sttp4/build.sbt b/samples/client/petstore/scala-sttp4/build.sbt index 928978cd680..9ad90117007 100644 --- a/samples/client/petstore/scala-sttp4/build.sbt +++ b/samples/client/petstore/scala-sttp4/build.sbt @@ -2,8 +2,8 @@ version := "1.0.0" name := "openapi-client" organization := "org.openapitools" -scalaVersion := "2.13.10" -crossScalaVersions := Seq(scalaVersion.value, "2.12.17") +scalaVersion := "2.13.16" +crossScalaVersions := Seq(scalaVersion.value, "2.12.20") libraryDependencies ++= Seq( "com.softwaremill.sttp.client4" %% "core" % "4.0.0-M1", diff --git a/samples/client/petstore/scalaz/build.sbt b/samples/client/petstore/scalaz/build.sbt index 0153bb64d34..2a1ba3cd168 100644 --- a/samples/client/petstore/scalaz/build.sbt +++ b/samples/client/petstore/scalaz/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "2.11.8" +scalaVersion := "2.11.12" val http4sVersion = "0.15.12a" val scalazVersion = "7.2.12" diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt b/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt index b5f91f274c7..d840e9bb0c7 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt +++ b/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "openapi3-extensions-x-auth-id-alias-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt index 76f25835b9c..6a31c778bba 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8-special-characters", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt index f8e07fa6fa8..5de17d03e5e 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger1/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt index f8e07fa6fa8..5de17d03e5e 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8-swagger2/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt b/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt index 873fe19c3f1..1535ad5b043 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt +++ b/samples/openapi3/client/petstore/java/jersey2-java8/build.sbt @@ -3,7 +3,7 @@ lazy val root = (project in file(".")). organization := "org.openapitools", name := "petstore-openapi3-jersey2-java8", version := "1.0.0", - scalaVersion := "2.11.4", + scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), Compile / javacOptions ++= Seq("-Xlint:deprecation"), Compile / packageDoc / publishArtifact := false, diff --git a/samples/server/petstore/java-play-framework-api-package-override/build.sbt b/samples/server/petstore/java-play-framework-api-package-override/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-api-package-override/build.sbt +++ b/samples/server/petstore/java-play-framework-api-package-override/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-async/build.sbt b/samples/server/petstore/java-play-framework-async/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-async/build.sbt +++ b/samples/server/petstore/java-play-framework-async/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-controller-only/build.sbt b/samples/server/petstore/java-play-framework-controller-only/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-controller-only/build.sbt +++ b/samples/server/petstore/java-play-framework-controller-only/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt b/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt +++ b/samples/server/petstore/java-play-framework-fake-endpoints-with-security/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt b/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt +++ b/samples/server/petstore/java-play-framework-fake-endpoints/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt b/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt index 5e356fcab66..2cacc2726d1 100644 --- a/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt +++ b/samples/server/petstore/java-play-framework-no-bean-validation/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += guice diff --git a/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt b/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt +++ b/samples/server/petstore/java-play-framework-no-exception-handling/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-interface/build.sbt b/samples/server/petstore/java-play-framework-no-interface/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-no-interface/build.sbt +++ b/samples/server/petstore/java-play-framework-no-interface/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-nullable/build.sbt b/samples/server/petstore/java-play-framework-no-nullable/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-no-nullable/build.sbt +++ b/samples/server/petstore/java-play-framework-no-nullable/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt b/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt index fa1b6982eb1..5d27bd401bb 100644 --- a/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt +++ b/samples/server/petstore/java-play-framework-no-swagger-ui/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" libraryDependencies += guice diff --git a/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt b/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt +++ b/samples/server/petstore/java-play-framework-no-wrap-calls/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/java-play-framework/build.sbt b/samples/server/petstore/java-play-framework/build.sbt index 69dfa74cd8a..e73b75e9aeb 100644 --- a/samples/server/petstore/java-play-framework/build.sbt +++ b/samples/server/petstore/java-play-framework/build.sbt @@ -4,7 +4,7 @@ version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" libraryDependencies += "org.webjars" % "swagger-ui" % "3.32.5" libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final" diff --git a/samples/server/petstore/scala-akka-http-server/build.sbt b/samples/server/petstore/scala-akka-http-server/build.sbt index f78b367397d..cef46671e86 100644 --- a/samples/server/petstore/scala-akka-http-server/build.sbt +++ b/samples/server/petstore/scala-akka-http-server/build.sbt @@ -1,7 +1,7 @@ version := "1.0.0" name := "openapi-scala-akka-http-server" organization := "org.openapitools" -scalaVersion := "2.12.8" +scalaVersion := "2.12.20" libraryDependencies ++= Seq( "com.typesafe.akka" %% "akka-stream" % "2.5.21", diff --git a/samples/server/petstore/scala-http4s-server/build.sbt b/samples/server/petstore/scala-http4s-server/build.sbt index 70c61651640..23bdb60d69e 100644 --- a/samples/server/petstore/scala-http4s-server/build.sbt +++ b/samples/server/petstore/scala-http4s-server/build.sbt @@ -1,4 +1,4 @@ -scalaVersion := "2.13.11" +scalaVersion := "2.13.16" scalacOptions += "-Ymacro-annotations" val circeVersion = "0.14.5" @@ -18,7 +18,7 @@ val cats = Seq("org.typelevel" %% "cats-core" % catsVersion) lazy val compilerPlugins = Seq( compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"), - compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full) + compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.3" cross CrossVersion.full) ) libraryDependencies ++= (Seq( diff --git a/samples/server/petstore/scala-lagom-server/build.sbt b/samples/server/petstore/scala-lagom-server/build.sbt index b6ab43cf17b..17190a172a7 100644 --- a/samples/server/petstore/scala-lagom-server/build.sbt +++ b/samples/server/petstore/scala-lagom-server/build.sbt @@ -4,7 +4,7 @@ name := "scala-lagom-server" organization := "org.openapitools" -scalaVersion := "2.11.8" +scalaVersion := "2.11.12" val playJsonDerivedCodecs = "org.julienrf" %% "play-json-derived-codecs" % "3.3" diff --git a/samples/server/petstore/scala-pekko-http-server/build.sbt b/samples/server/petstore/scala-pekko-http-server/build.sbt index 61690fec7f1..2f87c22d655 100644 --- a/samples/server/petstore/scala-pekko-http-server/build.sbt +++ b/samples/server/petstore/scala-pekko-http-server/build.sbt @@ -1,7 +1,7 @@ version := "1.0.0" name := "openapi-scala-pekko-http-server" organization := "org.openapitools" -scalaVersion := "2.12.8" +scalaVersion := "2.12.20" libraryDependencies ++= Seq( "org.apache.pekko" %% "pekko-stream" % "1.0.3", diff --git a/samples/server/petstore/scala-play-server/build.sbt b/samples/server/petstore/scala-play-server/build.sbt index 5d0c149bee4..256757cf1a5 100644 --- a/samples/server/petstore/scala-play-server/build.sbt +++ b/samples/server/petstore/scala-play-server/build.sbt @@ -1,7 +1,7 @@ organization := "" version := "" name := "" -scalaVersion := "2.12.6" +scalaVersion := "2.12.20" enablePlugins(PlayScala) diff --git a/samples/server/petstore/scalatra/build.sbt b/samples/server/petstore/scalatra/build.sbt index 4e374208144..cca81187ead 100644 --- a/samples/server/petstore/scalatra/build.sbt +++ b/samples/server/petstore/scalatra/build.sbt @@ -1,7 +1,7 @@ organization := "org.openapitools" name := "scalatra-sample" version := "0.1.0-SNAPSHOT" -scalaVersion := "2.12.4" +scalaVersion := "2.12.20" mainClass in assembly := Some("JettyMain")