tapir
tapir copied to clipboard
Rapid development of self-documenting APIs
Tapir version: 1.2.8 Scala version: 3.2.2 **Describe the bug** When using Schema.derived on a recursive data structure, a deadlock is caused runtime. It compiles fine, but fails runtime. **How to...
Tapir version: 1.2.9 Scala version: 2.13.10 **Describe the bug** There's compilation error when trying to derive an inner value class with the `Codec.derivedValueClass` method. **How to reproduce?** ```scala import sttp.tapir.Codec...
I want to return the following response on the validation error: ``` { "errors":{ "fieldName": [ "field error" ] } } ``` (like in https://realworld-docs.netlify.app/docs/specs/backend-specs/error-handling#errors-and-status-codes) I've tried to modify the...
See: https://stackoverflow.com/questions/75364234/redoc-documentation-for-tapir-endpoint-with-sealed-heirarchy-not-rendering-as-ex/75365688#75365688 We could probably do sth similar to `Schema.oneOfWrapped`, but without generating the wrapper.
Hey folks! First of all thanks for wonderful library. I've created this PR because it wasn't obviously clear to me how to log decoding errors, I spent couple of hours...
There's currently no way to default annotations to snake casing without having to manually specify each one. For example, given the following code: ``` case class Input( @query notSnakeCase: Int...
Currently, and to my knowledge, The error output is unique. This does not allow you to write a lightweight implementation where you have a security error type and a business...
multipleOf is mentioned in the swagger.io documentation to specify a number must be a multiple of another. This is not in the Schema class. Was asked by adamw to raise...
Hi guys, I would like to start with congratulate me for your great work, I love use Tapir! I wanted to ask if it was possible to create an accumulator...
Hello, I have a bunch of plain http server endpoints which works fine but one of them I needed to change to give back `serverSentEventsBody` so this is the only...