Liking cljdoc? Tell your friends :D

navi.core


->param-schemaclj

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

->prop-schemaclj

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

operation->dataclj

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

param->datacljmultimethod

source

path-item->dataclj

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

routes-fromclj

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

speccljmultimethod

source

wrap-mapclj

(wrap-map k m)

Surrounds the key in a map for malli conformance

Surrounds the key in a map for malli conformance
sourceraw docstring

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

× close