Container storing the extractor and function of an endpoint.
Fuses RouteExtractor, FunApply and endpoint function fun into an Endpoint.
Request representation which every server implementation has to provide.
Compiles RouteExtractor and FunApply for every API endpoint and generates expected list of endpoint functions.
Compiles RouteExtractor and FunApply for every API endpoint and generates expected list of endpoint functions.
Build a function which extracts inputs from a given requests based on the API.
Build a function which extracts inputs from a given requests based on the API.
RouteNotFound
is returnedBadRouteRequest
is returned
Reduces an Endpoint and its EndpointExecutor to a simple Request => Response function.