Liking cljdoc? Tell your friends :D

sweet-tooth.endpoint.format


format-bodyclj

(format-body body id-key ent-type conformed)

format-entityclj

(format-entity e id-key)

format-possible-entityclj

(format-possible-entity body id-key ent-type)

format-responseclj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close