tapir icon indicating copy to clipboard operation
tapir copied to clipboard

Rapid development of self-documenting APIs

Results 292 tapir issues
Sort by recently updated
recently updated
newest added

Currently, the code generates case-classes, and imports `circe.auto._`. Proably we should decouple the case-class from the import/formatter generation (or get the formatter generation as param and use it while we...

openapi-codegen

It would be nice to create a bigger test set with tapir definitions and generated openapi documentations, to do sanity/progress checks. I thinking about something like the already used e2e...

openapi-codegen

Handle anyOf, and enum definitions. I think this is a hard one. Also for enums we should probably make the enum generator choosable (we want to use enumeratum or scala...

openapi-codegen

At the point when I started the generator, I wrote a new class hierarchy to parse the input yaml. BUT we probably could use the already written [model classes.](https://github.com/softwaremill/tapir/tree/master/apispec/openapi-model/src/main/scala/sttp/tapir/openapi) I...

openapi-codegen

Related to #843 At this point the code only parses some types (no dates right now), and also doesn't parse back restrictions and other meta information. For example min/max values,...

openapi-codegen

When a request failed (e.g. Server broke backwards compatibility), it'll be nice to be able to access the original body so we can log the error message from the server....

Hi, it would be really nice to have support for [Finagle](https://github.com/twitter/finagle/tree/develop/finagle-http). As you already have support for Finatra which is a REST framework on top of Finagle, I imagine it...

In `FinatraRequestToRawBody`, when saving the body to a file, the content should be streamed, not read entirely into memory (as it is now with `serverOptions.createFile(asByteArray)`

server
implementation

Choose between the [original util](https://github.com/softwaremill/tapir/blob/56e01d2f1dea269ab027037ea17d0ca8a5ff1e46/core/src/test/scala/sttp/tapir/util/CompileUtil.scala) (I totally missed that anno), and the [new one](https://github.com/softwaremill/tapir/blob/master/sbt/sbt-openapi-codegen/src/test/scala/codegen/testutils/CompileCheckTestBase.scala). Refactor/reorganize code if neccessary.

As discussed on Gitter, I was playing with tapir and ZIO. My main goal was to move from ```scala ZLayer.fromService[GameService, ZRoutes] { gameService => val r = ZHttp4sServerInterpreter .from( List(...