(->param-schema param)
Given a param applies the similar logic as prop to schema Intended for Parameter
Given a param applies the similar logic as prop to schema Intended for Parameter
(->prop-schema required property)
Given a property and a required keys set, returns a malli spec. Intended for RequestBody
Given a property and a required keys set, returns a malli spec. Intended for RequestBody
(operation->data op handlers)
Converts an Operation to map of parameters, schemas and handler conforming to reitit
Converts an Operation to map of parameters, schemas and handler conforming to reitit
(path-item->data path-item handlers)
Converts a path to its corresponding vector of method and the operation map
Converts a path to its corresponding vector of method and the operation map
(routes-from api-spec handlers)
Takes in the OpenAPI JSON/YAML as string and a map of OperationId to handler fns. Returns the reitit route map with malli schemas
Takes in the OpenAPI JSON/YAML as string and a map of OperationId to handler fns. Returns the reitit route map with malli schemas
(wrap-map k m)
Surrounds the key in a map for malli conformance
Surrounds the key in a map for malli conformance
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close