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

sttp.tapir.package.scala Maven / Gradle / Ivy

There is a newer version: 1.11.9
Show newest version
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