This commit is contained in:
Tommi Reiman 2018-08-17 08:50:06 +03:00
parent bd844bd816
commit 20fa00beaa

View file

@ -26,7 +26,7 @@
:non-specs non-specs})))
(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
[method {:keys [data] :as endpoint}] c
:when endpoint