How could I get muuntaja to fill up available format in swagger ? I can curl for edn / transit ect.. but only json is available in the dropdown
I’m unsure how to get proper trailing slash redirection. The following gives ::no-match:
(def test-routes
[["" {:get {:handler identity}
:name :main}]])
(def test-router
(reitit-ring/ring-handler
(reitit-ring/router test-routes)
(reitit-ring/routes
(reitit-ring/redirect-trailing-slash-handler {:method :strip}))))
(or (test-router {:request-method :get, :uri "/"}) ::no-match)
What have I misconfigured?