mirror of
https://github.com/metosin/reitit.git
synced 2026-01-01 22:28:25 +00:00
FIx swagger uris
This commit is contained in:
parent
5079daa8f3
commit
213f16defa
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue