HTTP server using Tapir

Tapir is a library for rapidly developing HTTP APIs. It integrates with a number of Scala stacks, including direct-style server interpreters.

The integration is included in the Tapir library and includes:

  • exposing regular HTTP endpoints (consuming/producing JSON etc.)

  • streaming request & response bodies, converted to/from Flows via InputStreams

  • web sockets represented as a transformation between incoming & outgoing Flows of web socket frames

  • SSE response bodies

For more details refer to the Tapir documentation, specifically: