ring-swagger 2018-10-04

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

it’s basically due to this:

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

I’m using jetty adapter