FIx swagger uris

This commit is contained in:
Tommi Reiman 2019-01-13 21:38:53 +02:00
parent 5079daa8f3
commit 213f16defa

View file

@ -68,7 +68,8 @@
(->> (impl/segments path)
(map #(if (impl/wild-or-catch-all-param? %)
(str "{" (subs % 1) "}") %))
(str/join "/")))
(str/join "/")
(str "/")))
(defn create-swagger-handler []
"Create a ring handler to emit swagger spec. Collects all routes from router which have