(invoke {:keys [parsed-api command-defs servers] :as client}
command
{:keys [input server headers]
:or {input nil
server (:url (first servers))
headers (merge {"Accept" "application/json"}
(when input {"Content-Type" "application/json"}))}
:as opts})
Invoke a command on the blueprint client. Assumes json for content negotiation.
Invoke a command on the blueprint client. Assumes json for content negotiation.
(make-client api-def)
Create a blueprint client from a blueprint api definition.
Create a blueprint client from a blueprint api definition.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close