Fork me on GitHub
#ring-swagger
<
2017-01-18
>
ikitommi07:01:46

the middleware is not very useful as it applies itself before any route matching. @juhoteperi is deprecating that in favour of wrap-routes (similar to the one in Compojure) for 1.2 (https://github.com/metosin/compojure-api/pull/250), which matches only after any of the subroutes have matched. You can use compojure.core/wrap-routes before that’s merged, or add it as the last route.

d5p07:01:23

ahh nice excellent