ring-swagger

ring-swagger & compojure-api
2018-10-04T14:42:59.000100Z

Has anybody seen this? java.lang.NullPointerException: Response map is nil

2018-10-04T14:43:15.000100Z

it’s basically due to this:

(defn html
  [content]
  (-> content
      (response/response)
      (response/header "Content-Type" "text/html")))

2018-10-04T14:44:43.000100Z

I’m using jetty adapter