Represents a server endpoint and is basically a function which gets the expected input VIn
and returns the expected output.
Fuses RouteExtractor and the endpoint function 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.
Builds a function which extracts inputs from a given requests based on the API.
Builds 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.