tapir
tapir copied to clipboard
Rapid development of self-documenting APIs
Tapir version: `0.18.0-M7` Given the example: ```scala case class Request( @description("time from") from: TimeRange, @description("time to") to: TimeRange, @description("simple field description") simpleField: String ) ``` Transforming to OpanAPI outputs this:...
Here's the stack trace: ``` [info] - should convert fs2 stream to read stream *** FAILED *** 19835 [info] scala.MatchError: false (of class java.lang.Boolean) 19836 [info] at scala.PartialFunction$$anon$1.apply(PartialFunction.scala:344) 19837 [info]...
What's the recommended way to turn missing server and/or client routes into compilation errors?
No specifics yet, but basically generating `Gen` and `Cogen` for a datatype is a solved problem. We can use those to call Tapir endpoints for automated tests. Just an idea...
Tapir version: 0.18.0-M4 Scala version: 2.12.13 **Describe the bug** Schema derived for parametrized case classes is always fixed to a random parameter **How to reproduce?** ```scala final case class Items[A](items:...
Tapir version: 0.18.0-M17 Scala version: 2.13.6 **Describe the bug** When you have inner enum inside other enum and both of them extends `TapirCodecEnumeratum` trait - compile will fail with error:...
Right now, we're only generating reusable `schemas` and `securitySchemes` (see Components specification at https://swagger.io/specification/). We could do the same for parameters, headers. A schema is reusable if it has a...
Tapir version: 0.18.3 Scala version: 2.13.6 Can't integrate tapir websocket endpoint to zio-http server. Is there a way to do this? Perhaps this feature hasn't been implemented yet? I try...
Tapir version: 0.19-M14 Scala version: Scala 2.13.6 **Describe the bug** What is the problem? zio-http with multipartBody[T] does not work. Server does not respond and it seems that logic is...
Tapir version: 0.19.3 Scala version: 2.13.7 **Describe the Problem** In [rfc6266](https://datatracker.ietf.org/doc/html/rfc6266) > The parameters "filename" and "filename*" differ only in that "filename*" uses the encoding defined in [RFC5987], allowing the...