tapir
tapir copied to clipboard
Rapid development of self-documenting APIs
Right now `NettyRequestBody.toRaw` handles `InputStreamBody` and `InputStreamRangeBody` in a suboptimal way. It drains the reactive `Publisher[HttpContent]` to read all bytes in memory, then returns these bytes wrapped in a `ByteArrayInputStream`....
I use Play Json library in my project. Swagger (OpenAPI) supports both YAML and JSON formats for their spec files. Hence, I do not necessarily need to import Circe into...
Current implementation of `optionallyConcatenateFrames` returns the original stream: https://github.com/softwaremill/tapir/blob/fdfa3da9a7d96b49625412a3aebed3ffe4e87988/server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sWebSockets.scala#L71
Tapir version: 1.9.2 Hi peps! # Context A very common use case when defining an endpoint is adding an (optional) filter of "categories". One way of doing so is as...
Tapir version: 1.2.11 Scala version: 2.13.10 We have been using `Schema.oneOfWrapped` for endpoints that take a variety of inputs or generate more than one type of output. This has worked...
Tapir version: 1.9.0 Scala version: 3.3.1 **Describe the bug** There are existing interpreters for ZIO and fs2 WebSocket support in the Fetch backend for Scala.js. When using Tapir with [Laminar](https://laminar.dev)...
Tapir version: 1.8.2 Scala version: 3.3.1 AsyncAPI studio can't parse the generated yaml when using `Configuration.default.withDiscriminator` for ADT type or simple enum. Given this minimal example ```//> using scala 3.3...
Solves https://github.com/softwaremill/tapir/issues/3193 Schemas will no longer be derived using `Schema.derived[T]` which causes repeated derivation for coproduct children. Macros are copied from https://github.com/softwaremill/tapir/pull/2118, with a few slight modifications. Move out of...
https://tapir.softwaremill.com/en/latest/stability.html We want to increase the minor number only when there are new core features. Updates in integrations and new integrations should result in patch number increase.
Tapir version: 1.7.3 Scala version: 2.12.15 When deriving a `List[T]` where `T` is defined inside of a companion object, the generated schema for `List[T]` is `scala.collection.immutable.:: { head, tl }`...