ring-swagger

ring-swagger & compojure-api
udit 2017-12-30T17:29:22.000009Z

I am trying to include the api-middleware in compojure.api.middleware namespace as follows, but it keeps complaining about the options map being nil. I don't understand what I am doing wrong here.

(defn app []
  (-> handler
      print-middleware
      middleware/wrap-db-transaction
      compojure.api.middleware/api-middleware))