Fix: broken ring-malli-swagger example

Change example to use recently changed `m/accept` -> `m/walk` and
`m/schema-visitor` -> `m/schema-walker`
This commit is contained in:
tjalkane 2020-08-04 21:26:58 +03:00
parent afd0af83be
commit 37fc06b081

View file

@ -22,9 +22,9 @@
[:map {:registry {::age [:and int? [:> 18]]}}
[:age ::age]])
(malli.core/accept
(malli.core/walk
(malli.core/schema sample-request)
(malli.core/schema-visitor identity))
(malli.core/schema-walker identity))
(defn handle [request]
(prn (:parameters request))