Compiles type level api description into a function returning data (uri, query, header, body) and return-type A
which are used for a request.
Compiles type level api description into a function returning data (uri, query, header, body) and return-type A
which are used for a request.
Syntactic sugar to enable: val api = (:= "foo" :> Get[Foo]) :|: (:= "bar" :> Get[Bar])
Syntactic sugar to enable: val api = (:= "foo" :> Get[Foo]) :|: (:= "bar" :> Get[Bar])
val (foo :|: bar :|: =:) = compile(transform(api))
Basic api request structure.
Basic api request structure. Expected input data and return-type are defined for each method.
Transform apis composed in a HList into ApiComposition representation.