The HTTP content type header value
How the body is represented when documenting APIs.
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
Convenience method to avoid boilerplate using map() with a AnyVal case-classes (which can be tagged with Value[T])
Convenience method to avoid boilerplate using map() with a AnyVal case-classes (which can be tagged with Value[T])
- the value type of the case class AnyVal
The HTTP content type header value
function to take the input string from the request and attempt to construct a deserialized instance.
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
Uni-directional map functions for this BodySpec type.
Uni-directional map functions for this BodySpec type. Use this to implement custom Body types
Bi-directional map functions for this ParameterSpec type.
Bi-directional map functions for this ParameterSpec type. Use this to implement custom Parameter types
How the body is represented when documenting APIs.
function to take the input type and serialize it to a string to be represented in the request
Spec required to marshall a body of a custom type
the type of the deserialised body
The HTTP content type header value
How the body is represented when documenting APIs.
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