Releases: softwaremill/tapir
Releases · softwaremill/tapir
v0.13.1
There's a couple of breaking changes in this release. Some background information can be found here: https://blog.softwaremill.com/tapir-codecs-get-an-update-c9801889cbf3
A non-comprehensive summary of the breaking changes:
Codec[H, CF, L]
becomesCodec[L, H, CF]
CodecForMany
andCodecForOptional
is removed. Instead, useCodec[List[...], ...]
orCodec[Option[...], ...]
List
replaced some usages ofSeq
, in the types to which endpoint inputs/outputs mapped- if you are using custom (implicit) json codecs, for json bodies you should use
anyJsonBody
v0.12.3
sttp tapir v0.12.0
Major changes
- renamed the group id from
com.softwaremill.tapir
tocom.softwaremill.sttp.tapir
(organization) - renamed the main package from
tapir
tosttp.tapir
(see sttp-client/#288) Codec
s are parametrised with aCodecFormat
, instead of aMediaType
(however, codec format still includes a media type)- using sttp model (which is shared with sttp client)
- changed
SchemaFor[T]
intoSchema[T]
. PreviousSchema
datatype now isSchemaType
(#247)
And some minor changes :)