ConvertibleToDirective is a type class supporting the conversion of parameter entities (query params, path params, etc) into Akka-Http directives that extract the values of those entities.
ConvertibleToDirective is a type class supporting the conversion of parameter entities (query params, path params, etc) into Akka-Http directives that extract the values of those entities. These Directives are composed by RouteGen into a single Route. The T type param is the parameter entity type (e.g. QueryParameter[Int]) The U type param is the extraction entity type (e.g. Int)
Invoker provides the type plumbing to map the type of an input HList of Parameter[T] to that of a function accepting an argument list of the inner types of those Parameters.
Invoker provides the type plumbing to map the type of an input HList of Parameter[T] to that of a function accepting an argument list of the inner types of those Parameters. For eg. if the input HList is QueryParameter[String] :: QueryParameter[Int] :: PathParameter[Boolean] :: HNil Invoker will define a dependent Function type (String, Int, Boolean) => R and call that function, returning the result, R (also a dependent type).
AkkHttpInvoker is a specialization of Invoker where the return type of F is an akka Route.
RouteGen is a type class that supports the conversion of an OpenApi model into a Akka-Http Route.
RouteGen is a type class that supports the conversion of an OpenApi model into a Akka-Http Route. This allows the processing of an HTTP request according to a Swagger definition. See also ConvertibleToDirective.