         ;; TODO: Test a lot more, like content-type
         [:headers "content-language"] := "en"
         [:body to-string] := "Hello World!\n"))))
-
-;; TODO: swagger


;; TODO: conditional request

;; TODO: mutation

;; TODO: head request


#_(deftest parameters-test
  (let [resource hello/hello-parameters]

       "content-type" (when-not (mime/string->media-type v) "mime-type not valid")
       "last-modified" (when-not (instance? java.util.Date (parse-date v)) "last-modified not a date")
       "vary" (when-not (pos? (count (parse-csv v))) "vary empty")
       "allow" (when-not (pos? (count (parse-csv v))) "allow empty")
       "etag" (when-not (etag? v) "not a valid etag")
       (throw (ex-info "Cannot validate unrecognized header" {:k k :v v}))))
   (remove nil?) vec))
