All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sttp.tapir.server.interceptor.DecodeSuccessContext.scala Maven / Gradle / Ivy

There is a newer version: 1.11.9
Show newest version
package sttp.tapir.server.interceptor

import sttp.tapir.Endpoint
import sttp.tapir.model.ServerRequest
import sttp.tapir.server.ServerEndpoint

case class DecodeSuccessContext[F[_], A, U, I](
    serverEndpoint: ServerEndpoint.Full[A, U, I, _, _, _, F],
    securityInput: A,
    principal: U,
    input: I,
    request: ServerRequest
) {
  def endpoint: Endpoint[A, I, _, _, _] = serverEndpoint.endpoint
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy