Liking cljdoc? Tell your friends :D

martian.schema


*visited-refs*clj/s

source

build-coercion-matchersclj/s

(build-coercion-matchers use-defaults?)
source

coerce-dataclj/s

(coerce-data schema data & [parameter-aliases use-defaults?])

Extracts the data referred to by the schema's keys and coerces it

Extracts the data referred to by the schema's keys and coerces it
sourceraw docstring

coercion-matchersclj/s

(coercion-matchers schema)
source

leaf-schemaclj/s

(leaf-schema {:keys [type enum format]})
source

make-schemaclj/s

(make-schema ref-lookup {:keys [required type schema $ref items] :as param})

Takes a swagger parameter and returns a schema

Takes a swagger parameter and returns a schema
sourceraw docstring

schemas-for-parametersclj/s

(schemas-for-parameters ref-lookup parameters)

Given a collection of swagger parameters returns a schema map

Given a collection of swagger parameters returns a schema map
sourceraw docstring

URIclj/s

source

wrap-defaultclj/s

(wrap-default {:keys [default]} schema)
source

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

× close