mirror of
https://github.com/metosin/reitit.git
synced 2025-12-20 09:31:11 +00:00
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:
parent
afd0af83be
commit
37fc06b081
1 changed files with 2 additions and 2 deletions
|
|
@ -22,9 +22,9 @@
|
||||||
[:map {:registry {::age [:and int? [:> 18]]}}
|
[:map {:registry {::age [:and int? [:> 18]]}}
|
||||||
[:age ::age]])
|
[:age ::age]])
|
||||||
|
|
||||||
(malli.core/accept
|
(malli.core/walk
|
||||||
(malli.core/schema sample-request)
|
(malli.core/schema sample-request)
|
||||||
(malli.core/schema-visitor identity))
|
(malli.core/schema-walker identity))
|
||||||
|
|
||||||
(defn handle [request]
|
(defn handle [request]
|
||||||
(prn (:parameters request))
|
(prn (:parameters request))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue