optional description of the parameter (for use in description endpoints)
The parameter type to be used in the documentation. For custom types, this is usually ObjectParamType (for JSON) or StringParamType
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
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.
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
Uni-directional map functions for this ParameterSpec type.
Uni-directional map functions for this ParameterSpec type. Use this to implement custom Parameter types
Bi-directional map functions for this ParameterSpec type.
Bi-directional map functions for this ParameterSpec type. Use this to implement custom Parameter types
The parameter type to be used in the documentation.
The parameter type to be used in the documentation. For custom types, this is usually ObjectParamType (for JSON) or StringParamType
function to take the input type and serialize it to a string to be represented in the request
Spec required to marshal and unmarshal a parameter of a custom type
the type of the deserialised parameter
optional description of the parameter (for use in description endpoints)
The parameter type to be used in the documentation. For custom types, this is usually ObjectParamType (for JSON) or StringParamType
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