Placeholder functionality, swapping codex examples, generating.
Placeholder functionality, swapping codex examples, generating.
(gen-struct struct tree bag gen-all)
generate a structed value, where the sub-values may be recursively generated
generate a structed value, where the sub-values may be recursively generated
(holder-swap m swap-fn tree)
Swap generative values in m of placeholders.
Swap generative values in m of placeholders.
(holder? v)
Does a value contain a placeholder?
Does a value contain a placeholder?
(replace-all-with s func)
replace all occurrences in string of placeholder with result of applying func to the placeholder name
replace all occurrences in string of placeholder with result of applying func to the placeholder name
(response-bag {:keys [status]}
{:keys [tree headers path-params matrix-params query-params
form-params response]})
A bag of placeholder values from the request
A bag of placeholder values from the request
(swap m tree bag & {:keys [gen-all]})
swaps all occurances of placeholders in m with values in bag or generated/examples from tree. Note vars marked as :gen false in tree will not be generated (unless optional parameter :gen-all is true)
swaps all occurances of placeholders in m with values in bag or generated/examples from tree. Note vars marked as :gen false in tree will not be generated (unless optional parameter :gen-all is true)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close