@@ -19,7 +19,7 @@ the json codec that is in scope.
19
19
To use Circe, add the following dependency to your project:
20
20
21
21
``` scala
22
- " com.softwaremill.sttp.tapir" %% " tapir-json-circe" % " 0.18.0-M1 "
22
+ " com.softwaremill.sttp.tapir" %% " tapir-json-circe" % " 0.18.0-M2 "
23
23
```
24
24
25
25
Next, import the package (or extend the ` TapirJsonCirce ` trait, see [ MyTapir] ( ../mytapir.md ) ):
@@ -93,7 +93,7 @@ Now the above JSON object will render as
93
93
To use µPickle add the following dependency to your project:
94
94
95
95
``` scala
96
- " com.softwaremill.sttp.tapir" %% " tapir-json-upickle" % " 0.18.0-M1 "
96
+ " com.softwaremill.sttp.tapir" %% " tapir-json-upickle" % " 0.18.0-M2 "
97
97
```
98
98
99
99
Next, import the package (or extend the ` TapirJsonuPickle ` trait, see [ MyTapir] ( ../mytapir.md ) and add ` TapirJsonuPickle ` not ` TapirCirceJson ` ):
@@ -128,7 +128,7 @@ For more examples, including making a custom encoder/decoder, see [TapirJsonuPic
128
128
To use Play JSON add the following dependency to your project:
129
129
130
130
``` scala
131
- " com.softwaremill.sttp.tapir" %% " tapir-json-play" % " 0.18.0-M1 "
131
+ " com.softwaremill.sttp.tapir" %% " tapir-json-play" % " 0.18.0-M2 "
132
132
```
133
133
134
134
Next, import the package (or extend the ` TapirJsonPlay ` trait, see [ MyTapir] ( ../mytapir.md ) and add ` TapirJsonPlay ` not ` TapirCirceJson ` ):
@@ -144,7 +144,7 @@ Play JSON requires `Reads` and `Writes` implicit values in scope for each type y
144
144
To use Spray JSON add the following dependency to your project:
145
145
146
146
``` scala
147
- " com.softwaremill.sttp.tapir" %% " tapir-json-spray" % " 0.18.0-M1 "
147
+ " com.softwaremill.sttp.tapir" %% " tapir-json-spray" % " 0.18.0-M2 "
148
148
```
149
149
150
150
Next, import the package (or extend the ` TapirJsonSpray ` trait, see [ MyTapir] ( ../mytapir.md ) and add ` TapirJsonSpray ` not ` TapirCirceJson ` ):
@@ -160,7 +160,7 @@ Spray JSON requires a `JsonFormat` implicit value in scope for each type you wan
160
160
To use Tethys JSON add the following dependency to your project:
161
161
162
162
``` scala
163
- " com.softwaremill.sttp.tapir" %% " tapir-json-tethys" % " 0.18.0-M1 "
163
+ " com.softwaremill.sttp.tapir" %% " tapir-json-tethys" % " 0.18.0-M2 "
164
164
```
165
165
166
166
Next, import the package (or extend the ` TapirJsonTethys ` trait, see [ MyTapir] ( ../mytapir.md ) and add ` TapirJsonTethys ` not ` TapirCirceJson ` ):
@@ -176,7 +176,7 @@ Tethys JSON requires `JsonReader` and `JsonWriter` implicit values in scope for
176
176
To use [ Jsoniter-scala] ( https://github.com/plokhotnyuk/jsoniter-scala ) add the following dependency to your project:
177
177
178
178
``` scala
179
- " com.softwaremill.sttp.tapir" %% " tapir-jsoniter-scala" % " 0.18.0-M1 "
179
+ " com.softwaremill.sttp.tapir" %% " tapir-jsoniter-scala" % " 0.18.0-M2 "
180
180
```
181
181
182
182
Next, import the package (or extend the ` TapirJsonJsoniter ` trait, see [ MyTapir] ( ../mytapir.md ) and add ` TapirJsonJsoniter ` not ` TapirCirceJson ` ):
@@ -193,7 +193,7 @@ Jsoniter Scala requires `JsonValueCodec` implicit value in scope for each type y
193
193
To use [ json4s] ( https://github.com/json4s/json4s ) add the following dependencies to your project:
194
194
195
195
``` scala
196
- " com.softwaremill.sttp.tapir" %% " tapir-json4s" % " 0.18.0-M1 "
196
+ " com.softwaremill.sttp.tapir" %% " tapir-json4s" % " 0.18.0-M2 "
197
197
```
198
198
199
199
And one of the implementations:
0 commit comments