protean.api.generation.json
Generate json from json schema.
gen
(gen schema-path)generate a json which is valid according to provided schema
gen-array
(gen-array {:keys [items uniqueItems minItems maxItems]})gen-int
(gen-int {:keys [minimum maximum exclusiveMinimum exclusiveMaximum]})gen-number
(gen-number {:keys [minimum maximum exclusiveMinimum exclusiveMaximum]})gen-obj
(gen-obj {:keys [properties required enum]})gen-str
(gen-str {:keys [minLength maxLength format enum pattern]})