mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 17:01:11 +00:00
configuration sampler of malli coercion
This commit is contained in:
parent
3b53efc439
commit
d00c327f5c
1 changed files with 2 additions and 1 deletions
|
|
@ -69,7 +69,8 @@
|
||||||
;;:validate spec/validate ;; enable spec validation for route data
|
;;:validate spec/validate ;; enable spec validation for route data
|
||||||
;;:reitit.spec/wrap spell/closed ;; strict top-level validation
|
;;:reitit.spec/wrap spell/closed ;; strict top-level validation
|
||||||
:exception pretty/exception
|
:exception pretty/exception
|
||||||
:data {:coercion reitit.coercion.malli/coercion
|
:data {:coercion (reitit.coercion.malli/create
|
||||||
|
{:error-keys #{:type :coercion :in :humanized #_:schema #_:value #_:transformed #_:errors}})
|
||||||
:muuntaja m/instance
|
:muuntaja m/instance
|
||||||
:middleware [;; swagger feature
|
:middleware [;; swagger feature
|
||||||
swagger/swagger-feature
|
swagger/swagger-feature
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue