From 8c07b0bd96ef1ae2a8e1b9ffb1ec860a497fe944 Mon Sep 17 00:00:00 2001 From: softwaremill-ci Date: Mon, 27 Jul 2020 15:53:19 +0000 Subject: [PATCH] Setting version to 0.16.9 --- README.md | 2 +- doc/endpoint/integrations.md | 6 +++--- doc/endpoint/json.md | 12 ++++++------ doc/endpoint/zio.md | 4 ++-- doc/openapi.md | 20 ++++++++++---------- doc/quickstart.md | 2 +- doc/server/akkahttp.md | 4 ++-- doc/server/finatra.md | 4 ++-- doc/server/http4s.md | 2 +- doc/server/play.md | 2 +- doc/server/vertx.md | 2 +- doc/sttp.md | 2 +- doc/testing.md | 2 +- version.sbt | 2 +- 14 files changed, 33 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 9cba5def71..0f618d5443 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ tapir documentation is available at [tapir.softwaremill.com](http://tapir.softwa Add the following dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.16.9" ``` You'll need partial unification enabled in the compiler (alternatively, you'll need to manually provide type arguments in some cases): diff --git a/doc/endpoint/integrations.md b/doc/endpoint/integrations.md index 9475a4858a..6a6e9b838e 100644 --- a/doc/endpoint/integrations.md +++ b/doc/endpoint/integrations.md @@ -6,7 +6,7 @@ The `tapir-cats` module contains additional instances for some [cats](https://ty datatypes as well as additional syntax: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-cats" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-cats" % "0.16.9" ``` - `import sttp.tapir.integ.cats.codec._` - brings schema, validator and codec instances @@ -19,7 +19,7 @@ If you use [refined](https://github.com/fthomas/refined), the `tapir-refined` mo validators for `T Refined P` as long as a codec for `T` already exists: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-refined" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-refined" % "0.16.9" ``` You'll need to extend the `sttp.tapir.codec.refined.TapirCodecRefined` @@ -40,7 +40,7 @@ The `tapir-enumeratum` module provides schemas, validators and codecs for [Enume enumerations. To use, add the following dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-enumeratum" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-enumeratum" % "0.16.9" ``` Then, `import sttp.tapir.codec.enumeratum`, or extends the `sttp.tapir.codec.enumeratum.TapirCodecEnumeratum` trait. diff --git a/doc/endpoint/json.md b/doc/endpoint/json.md index 74c7c952be..328733c90b 100644 --- a/doc/endpoint/json.md +++ b/doc/endpoint/json.md @@ -19,7 +19,7 @@ the json codec that is in scope. To use Circe add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % "0.16.9" ``` Next, import the package (or extend the `TapirJsonCirce` trait, see [MyTapir](../mytapir.html)): @@ -87,7 +87,7 @@ Now the above JSON object will render as To use µPickle add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-upickle" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-json-upickle" % "0.16.9" ``` Next, import the package (or extend the `TapirJsonuPickle` trait, see [MyTapir](../mytapir.html) and add `TapirJsonuPickle` not `TapirCirceJson`): @@ -121,7 +121,7 @@ For more examples, including making a custom encoder/decoder, see [TapirJsonuPic To use Play JSON add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-play" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-json-play" % "0.16.9" ``` Next, import the package (or extend the `TapirJsonPlay` trait, see [MyTapir](../mytapir.html) and add `TapirJsonPlay` not `TapirCirceJson`): @@ -137,7 +137,7 @@ Play JSON requires `Reads` and `Writes` implicit values in scope for each type y To use Spray JSON add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-spray" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-json-spray" % "0.16.9" ``` Next, import the package (or extend the `TapirJsonSpray` trait, see [MyTapir](../mytapir.html) and add `TapirJsonSpray` not `TapirCirceJson`): @@ -153,7 +153,7 @@ Spray JSON requires a `JsonFormat` implicit value in scope for each type you wan To use Tethys JSON add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-json-tethys" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-json-tethys" % "0.16.9" ``` Next, import the package (or extend the `TapirJsonTethys` trait, see [MyTapir](../mytapir.html) and add `TapirJsonTethys` not `TapirCirceJson`): @@ -169,7 +169,7 @@ Tethys JSON requires `JsonReader` and `JsonWriter` implicit values in scope for To use [Jsoniter-scala](https://github.com/plokhotnyuk/jsoniter-scala) add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-jsoniter-scala" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-jsoniter-scala" % "0.16.9" ``` Next, import the package (or extend the `TapirJsonJsoniter` trait, see [MyTapir](../mytapir.html) and add `TapirJsonJsoniter` not `TapirCirceJson`): diff --git a/doc/endpoint/zio.md b/doc/endpoint/zio.md index 419cf3c2c3..7fecc35d86 100644 --- a/doc/endpoint/zio.md +++ b/doc/endpoint/zio.md @@ -7,8 +7,8 @@ exposing the endpoints using the [http4s](https://http4s.org) server. You'll need the following dependencies: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-zio" % "0.16.7" -"com.softwaremill.sttp.tapir" %% "tapir-zio-http4s-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-zio" % "0.16.9" +"com.softwaremill.sttp.tapir" %% "tapir-zio-http4s-server" % "0.16.9" ``` Next, instead of the usual `import sttp.tapir._`, you should import: diff --git a/doc/openapi.md b/doc/openapi.md index 43e646e7d6..6e10e976b7 100644 --- a/doc/openapi.md +++ b/doc/openapi.md @@ -3,8 +3,8 @@ To use, add the following dependencies: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "0.16.7" -"com.softwaremill.sttp.tapir" %% "tapir-openapi-circe-yaml" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % "0.16.9" +"com.softwaremill.sttp.tapir" %% "tapir-openapi-circe-yaml" % "0.16.9" ``` Tapir contains a case class-based model of the openapi data structures in the `openapi/openapi-model` subproject (the @@ -64,26 +64,26 @@ akka-http/http4s routes for exposing documentation using [Swagger UI](https://sw ```scala // Akka HTTP -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.16.7" -"com.softwaremill.sttp.tapir" %% "tapir-redoc-akka-http" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.16.9" +"com.softwaremill.sttp.tapir" %% "tapir-redoc-akka-http" % "0.16.9" // Finatra -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-finatra" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-finatra" % "0.16.9" // HTTP4S -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-http4s" % "0.16.7" -"com.softwaremill.sttp.tapir" %% "tapir-redoc-http4s" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-http4s" % "0.16.9" +"com.softwaremill.sttp.tapir" %% "tapir-redoc-http4s" % "0.16.9" // Play -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-play" % "0.16.7" -"com.softwaremill.sttp.tapir" %% "tapir-redoc-play" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-play" % "0.16.9" +"com.softwaremill.sttp.tapir" %% "tapir-redoc-play" % "0.16.9" ``` Note: `tapir-swagger-ui-akka-http` transitively pulls some Akka modules in version 2.6. If you want to force your own Akka version (for example 2.5), use sbt exclusion. Mind the Scala version in artifact name: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.16.7" exclude("com.typesafe.akka", "akka-stream_2.12") +"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-akka-http" % "0.16.9" exclude("com.typesafe.akka", "akka-stream_2.12") ``` Usage example for akka-http: diff --git a/doc/quickstart.md b/doc/quickstart.md index 395f258816..d9a7118a03 100644 --- a/doc/quickstart.md +++ b/doc/quickstart.md @@ -3,7 +3,7 @@ To use tapir, add the following dependency to your project: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-core" % "0.16.9" ``` This will import only the core classes needed to create endpoint descriptions. To generate a server or a client, you diff --git a/doc/server/akkahttp.md b/doc/server/akkahttp.md index 4955d6617b..583bee3ff5 100644 --- a/doc/server/akkahttp.md +++ b/doc/server/akkahttp.md @@ -4,14 +4,14 @@ To expose an endpoint as an [akka-http](https://doc.akka.io/docs/akka-http/curre dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.16.9" ``` This will transitively pull some Akka modules in version 2.6. If you want to force your own Akka version (for example 2.5), use sbt exclusion. Mind the Scala version in artifact name: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.16.7" exclude("com.typesafe.akka", "akka-stream_2.12") +"com.softwaremill.sttp.tapir" %% "tapir-akka-http-server" % "0.16.9" exclude("com.typesafe.akka", "akka-stream_2.12") ``` Now import the package: diff --git a/doc/server/finatra.md b/doc/server/finatra.md index bdcdefcf48..b0dd9c108c 100644 --- a/doc/server/finatra.md +++ b/doc/server/finatra.md @@ -4,7 +4,7 @@ To expose an endpoint as an [finatra](https://twitter.github.io/finatra/) server dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-finatra-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-finatra-server" % "0.16.9" ``` and import the package: @@ -16,7 +16,7 @@ import sttp.tapir.server.finatra._ or if you would like to use cats-effect project, you can add the following dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-finatra-server-cats" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-finatra-server-cats" % "0.16.9" ``` and import the packate: diff --git a/doc/server/http4s.md b/doc/server/http4s.md index 0c9612cbb8..d43c6816d1 100644 --- a/doc/server/http4s.md +++ b/doc/server/http4s.md @@ -4,7 +4,7 @@ To expose an endpoint as an [http4s](https://http4s.org) server, first add the f dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % "0.16.9" ``` and import the package: diff --git a/doc/server/play.md b/doc/server/play.md index 651fc3a8af..825e9ed649 100644 --- a/doc/server/play.md +++ b/doc/server/play.md @@ -2,7 +2,7 @@ To expose endpoint as a [play-server](https://www.playframework.com/) first add the following dependencies: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-play-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-play-server" % "0.16.9" ``` and ```scala diff --git a/doc/server/vertx.md b/doc/server/vertx.md index 95ebab081f..814e7fe1e2 100644 --- a/doc/server/vertx.md +++ b/doc/server/vertx.md @@ -4,7 +4,7 @@ Endpoints can be mounted as Vert.x `Route`s on top of a Vert.x `Router`. Use the following dependency ```scala -"com.softwaremill.sttp.tapir" %% "tapir-vertx-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-vertx-server" % "0.16.9" ``` Then import the package: diff --git a/doc/sttp.md b/doc/sttp.md index 05a42a2b03..411fb145b2 100644 --- a/doc/sttp.md +++ b/doc/sttp.md @@ -3,7 +3,7 @@ Add the dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-sttp-client" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-sttp-client" % "0.16.9" ``` To make requests using an endpoint definition using the [sttp client](https://github.com/softwaremill/sttp), import: diff --git a/doc/testing.md b/doc/testing.md index b320f0daf8..3318160fe0 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -12,7 +12,7 @@ details on how the stub works). Add the dependency: ```scala -"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "0.16.7" +"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % "0.16.9" ``` And the following import: diff --git a/version.sbt b/version.sbt index d944813f9b..1b7b101c5b 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.16.8-SNAPSHOT" +version in ThisBuild := "0.16.9"