mirror of
https://github.com/metosin/reitit.git
synced 2026-02-16 16:05:15 +00:00
FIx coercion docs
This commit is contained in:
parent
1f2bac40db
commit
3a9feb0784
1 changed files with 2 additions and 2 deletions
|
|
@ -200,9 +200,9 @@ To plug in new validation engine, see the
|
||||||
(defprotocol Coercion
|
(defprotocol Coercion
|
||||||
"Pluggable coercion protocol"
|
"Pluggable coercion protocol"
|
||||||
(get-name [this] "Keyword name for the coercion")
|
(get-name [this] "Keyword name for the coercion")
|
||||||
(compile [this model name] "Compiles a coercion model")
|
|
||||||
(get-apidocs [this model data] "???")
|
(get-apidocs [this model data] "???")
|
||||||
(make-open [this model] "Returns a new map model which doesn't fail on extra keys")
|
(compile-model [this model name] "Compiles a coercion model")
|
||||||
|
(open-model [this model] "Returns a new map model which doesn't fail on extra keys")
|
||||||
(encode-error [this error] "Converts error in to a serializable format")
|
(encode-error [this error] "Converts error in to a serializable format")
|
||||||
(request-coercer [this type model] "Returns a `value format => value` request coercion function")
|
(request-coercer [this type model] "Returns a `value format => value` request coercion function")
|
||||||
(response-coercer [this model] "Returns a `value format => value` response coercion function"))
|
(response-coercer [this model] "Returns a `value format => value` response coercion function"))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue