(format-body body id-key ent-type conformed)
(format-entity e id-key)
(format-possible-entity body id-key ent-type)
(format-response {:keys [body] :as response})
Assumes that the default response from endpoints is a map or vector of maps of a single ent-type. Formats that so that it conforms to response.
Assumes that the default response from endpoints is a map or vector of maps of a single ent-type. Formats that so that it conforms to response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close