reitit.coercion

(source)
Public Variable Short Description
->CoercionError (clj)
->ParameterCoercion (clj)
-compile-model (clj) Compiles a model.
-compile-parameters (clj)
-encode-error (clj) Converts error in to a serializable format.
-get-apidocs (clj) Returns api documentation.
-get-model-apidocs (clj) Convert model into a format that can be used in api docs.
-get-name (clj) Keyword name for the coercion.
-get-options (clj) Coercion options.
-identity-coercer (clj)
-open-model (clj) Returns a new model which allows extra keys in maps.
-request-coercer (clj) Returns a `value format => value` request coercion function.
-response-coercer (clj) Returns a `value format => value` response coercion function.
Coercion (clj) Pluggable coercion protocol.
CoercionError (clj)
ParameterCoercion (clj)
coerce! (clj) Returns a map of coerced input parameters using pre-compiled coercers in `Match` under path `[:result :coerce]` (provided by [[compile-request-coercers]].
coerce-request (clj)
coerce-response (clj)
compile-request-coercers (clj) A router :compile implementation which reads the `:parameters` and `:coercion` data to both compile the schemas and create compiled coercers into Match under `:result with the following keys: | key | description | ----------|------------- | `:data` | data with compiled schemas | `:coerce` | function of `Match -> coerced parameters` to coerce parameters A pre-requisite to use [[coerce!]].
content-request-coercer (clj)
encode-error (clj)
error? (clj)
extract-request-format-default (clj)
extract-response-format-default (clj)
get-default (clj)
map->CoercionError (clj)
map->ParameterCoercion (clj)
request-coercer (clj)
request-coercers (clj)
response-coercer (clj)
response-coercers (clj)