mirror of
https://github.com/metosin/reitit.git
synced 2025-12-21 18:11:12 +00:00
public
This commit is contained in:
parent
bd844bd816
commit
20fa00beaa
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
:non-specs non-specs})))
|
:non-specs non-specs})))
|
||||||
(s/merge-spec-impl (vec specs) (vec specs) nil))
|
(s/merge-spec-impl (vec specs) (vec specs) nil))
|
||||||
|
|
||||||
(defn- validate-route-data [routes key spec]
|
(defn validate-route-data [routes key spec]
|
||||||
(->> (for [[p _ c] routes
|
(->> (for [[p _ c] routes
|
||||||
[method {:keys [data] :as endpoint}] c
|
[method {:keys [data] :as endpoint}] c
|
||||||
:when endpoint
|
:when endpoint
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue