mirror of
https://github.com/metosin/reitit.git
synced 2026-02-20 09:29:08 +00:00
Compare commits
2 commits
6b95795a6f
...
4ec29540cb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4ec29540cb | ||
|
|
33d155dc84 |
1 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,10 @@
|
|||
:parameters {:path [:map
|
||||
[:id :int]]
|
||||
:query [:map
|
||||
[:foo {:optional true} :keyword]]}}]])
|
||||
[:foo {:optional true} :keyword]
|
||||
;; ?repeated=a ==> ["a"]
|
||||
;; ?repeated=a&repeated=b ==> ["a" "b"]
|
||||
[:repeated [:vector {:decode/string #(if (string? %) [%] %)} :string]]]}}]])
|
||||
|
||||
(defn init! []
|
||||
(rfe/start!
|
||||
|
|
|
|||
Loading…
Reference in a new issue