endpoints4s.openapi.MuxEndpoints.scala Maven / Gradle / Ivy
package endpoints4s.openapi
import endpoints4s.algebra.MuxRequest
import endpoints4s.algebra
/**
* @group interpreters
*/
trait MuxEndpoints extends algebra.MuxEndpoints with EndpointsWithCustomErrors {
type MuxEndpoint[Req <: MuxRequest, Resp, Transport] = DocumentedEndpoint
def muxEndpoint[Req <: MuxRequest, Resp, Transport](
request: Request[Transport],
response: Response[Transport]
): MuxEndpoint[Req, Resp, Transport] = endpoint(request, response)
}