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 {:blueprint.registry/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 {:blueprint.registry/keys [resources commands] :as api-def})
(output-spec command status-map)
Build a multispec out of a map of {status spec-def}
, using a multispec with dispatch
on status
.
Build a multispec out of a map of `{status spec-def}`, using a multispec with dispatch on `status`.
(output-specs commands)
Build a map of operation name to output spec.
Build a map of operation name to output spec.
(qualify k)
(resource-specs resources)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close