diff --git a/doc/client/sttp.md b/doc/client/sttp.md index 441f40337a..ad24df4579 100644 --- a/doc/client/sttp.md +++ b/doc/client/sttp.md @@ -48,4 +48,9 @@ import sttp.tapir.client.sttp.ws.fs2._ // for fs2 ``` No additional dependencies are needed, as both of the above implementations are included in the main interpreter,] -with dependencies on akka-streams and fs2 being marked as optional (hence these are not transitive). \ No newline at end of file +with dependencies on akka-streams and fs2 being marked as optional (hence these are not transitive). + +## Scala.JS + +The client interpreter also supports Scala.JS, the request must then be send using the +[sttp client Scala.JS Fetch backend](https://sttp.softwaremill.com/en/latest/backends/javascript/fetch.html). \ No newline at end of file diff --git a/doc/index.md b/doc/index.md index f04d49b6bc..699b1a6ef9 100644 --- a/doc/index.md +++ b/doc/index.md @@ -14,7 +14,7 @@ interpreted as: Currently supported: * [sttp](client/sttp.md). * [Play](client/play.md). -* documentation. Currently supported: : +* documentation. Currently supported: * [OpenAPI](docs/openapi.md). * [AsyncAPI](docs/asyncapi.md). @@ -23,6 +23,8 @@ Tapir is licensed under Apache2, the source code is [available on GitHub](https: Depending on how you prefer to explore the library, take a look at one of the [examples](examples.md) or read on for a more detailed description of how tapir works! +Tapir is available for Scala 2.12 and 2.13 on the JVM. The client interpreter is also available for Scala.JS. + ## Code teaser ```scala mdoc:compile-only diff --git a/generated-doc/out/client/sttp.md b/generated-doc/out/client/sttp.md index 17499e3925..93e6e6ce99 100644 --- a/generated-doc/out/client/sttp.md +++ b/generated-doc/out/client/sttp.md @@ -48,4 +48,9 @@ import sttp.tapir.client.sttp.ws.fs2._ // for fs2 ``` No additional dependencies are needed, as both of the above implementations are included in the main interpreter,] -with dependencies on akka-streams and fs2 being marked as optional (hence these are not transitive). \ No newline at end of file +with dependencies on akka-streams and fs2 being marked as optional (hence these are not transitive). + +## Scala.JS + +The client interpreter also supports Scala.JS, the request must then be send using the +[sttp client Scala.JS Fetch backend](https://sttp.softwaremill.com/en/latest/backends/javascript/fetch.html). \ No newline at end of file diff --git a/generated-doc/out/index.md b/generated-doc/out/index.md index 5b72eec379..b5a8ddd682 100644 --- a/generated-doc/out/index.md +++ b/generated-doc/out/index.md @@ -14,7 +14,7 @@ interpreted as: Currently supported: * [sttp](client/sttp.md). * [Play](client/play.md). -* documentation. Currently supported: : +* documentation. Currently supported: * [OpenAPI](docs/openapi.md). * [AsyncAPI](docs/asyncapi.md). @@ -23,6 +23,8 @@ Tapir is licensed under Apache2, the source code is [available on GitHub](https: Depending on how you prefer to explore the library, take a look at one of the [examples](examples.md) or read on for a more detailed description of how tapir works! +Tapir is available for Scala 2.12 and 2.13 on the JVM. The client interpreter is also available for Scala.JS. + ## Code teaser ```scala