Liking cljdoc? Tell your friends :D

blueprint.spec-gen

A generator of clojure specs for data-based API definitions

A generator of clojure specs for data-based API definitions
raw docstring

*base-ns*clj


*resources*clj


-compile-speccljmultimethod


command-specclj

(command-spec op {:keys [input params path] :as cmd})

command-specsclj

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

compile-specclj


create-temp-specsclj

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

exportclj

(export x)

generate-specsclj

(generate-specs {:keys [info resources commands] :as api-def})

genqclj


genq-nameclj


output-specclj

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

output-specsclj

(output-specs commands)

Build a map of operation name to output spec.

Build a map of operation name to output spec.
raw docstring

qualifyclj

(qualify k)

resource-specsclj

(resource-specs resources)

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

× close