A generator of clojure specs for data-based API definitions
A generator of clojure specs for data-based API definitions
(command-spec op {:keys [input params path] :as cmd})
(command-specs commands)
Build a map of operation name to spec, and add an `handler' key for a multi-spec dispatch
Build a map of operation name to spec, and add an `handler' key for a multi-spec dispatch
(create-temp-specs {:keys [info resources]})
A run through all declared resources for the spec
equivalent of declare
to avoid circular dependencies
A run through all declared resources for the spec equivalent of `declare` to avoid circular dependencies
(export x)
(generate-specs {:keys [info resources commands] :as api-def})
(qualify k)
(resource-specs resources)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close