Spec required to marshall a body of a custom type
Spec required to marshall a parameter of a custom type
Spec required to marshall a parameter of a custom type
the type of the parameter
optional description of the parameter (for use in description endpoints)
function to take the input string from the request and attempt to construct a deserialized instance of T. Exceptions are automatically caught and translated into the appropriate result, so just concentrate on the Happy-path case
function to take the input type and serialize it to a string to be represented in the request
a parameter for retrieving a value of type [T] from the request
Prototype functions for creating parameters of various types.
Represents a generic body which can be written to and retrieved from a request.
Represents a generic body which can be written to and retrieved from a request.
the type of the request when it has been deserialized from the request
Predefined ParameterSpec instances for common types
Spec required to marshall a body of a custom type
the type of the parameter
Description to be used in the documentation
The HTTP content type header value
function to take the input string from the request and attempt to construct a deserialized instance. Exceptions are automatically caught and translated into the appropriate result, so just concentrate on the Happy-path case
function to take the input type and serialize it to a string to be represented in the request