tapir
tapir copied to clipboard
Rapid development of self-documenting APIs
I think it would be nice if we can do something like this: ```scala case class SomeThing(data: String, typeStr: String, uid: String, ) implicit lazy val sSomeThing: Schema[SomeThing] = Schema.derivedWithEncodedTypes3("data",...
This PR adds a Scala Native implementation of AwsLambdaRuntime. I've used a similar implementation in my local experiments outside tapir. There are still 3 problems with cross-compilation: * `org.typesafe.scalalogging` is...
Tapir version: All Scala version: 3 There is no `tapir-http4s-client` artifact for Scala Native. Native server module is already provided. https://mvnrepository.com/artifact/com.softwaremill.sttp.tapir/tapir-http4s-client If native module provided, we can create native tool...
Tapir version: 1.2.11 Scala version: 2.13 **Describe the bug** Currently, it's not possible to disable logging of decode error. `decodeFailureHandled` doesn't take into account `logAllDecodeFailures` and doesn't use `doLogAllDecodeFailures` function,...
Tapir version: 1.2.6 Scala version: 3.2.1 I'm new to both Tapir and ZIO. Please forgive me if I'm missing something obvious! I've been working on an application using [HelloWorldZioHttpServer](https://github.com/softwaremill/tapir/blob/master/examples/src/main/scala/sttp/tapir/examples/HelloWorldZioHttpServer.scala) as...
It would be great if Tapir supported out-of-the-box [compressions](https://en.wikipedia.org/wiki/HTTP_compression). If the client's request indicates the understanding of some compression algorithms through `Accept-Encoding` header: ``` GET /encrypted-area HTTP/1.1 Host: www.example.com Accept-Encoding:...
I have the following generic model of responses from a server API: ```scala sealed trait Status[+E, +A] final case class Error[E](error: E) extends Status[E, Nothing] final case class Fatal(reason: String)...
Tapir version: 1.1.3 Scala version: 2.13.10 I'm defining the endpoint and server logic like this: ```scala import sttp.tapir.ztapir._ import sttp.tapir.generic.auto._ import io.circe.generic.auto._ import sttp.tapir.json.circe._ case class UploadForm(file: Part[TapirFile]) val uploadEndpoint:...