sttp.tapir.package.scala Maven / Gradle / Ivy
package sttp
import sttp.model.Part
package object tapir extends Tapir {
// a part which contains one of the types supported by BodyType
type RawPart = Part[_]
type AnyPart = Part[_]
// used in multipart codecs
type AnyListCodec = Codec[_ <: List[_], _, _ <: CodecFormat]
type AnyEndpoint = Endpoint[_, _, _, _, _]
type PublicEndpoint[INPUT, ERROR_OUTPUT, OUTPUT, -R] = Endpoint[Unit, INPUT, ERROR_OUTPUT, OUTPUT, R]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy