Liking cljdoc? Tell your friends :D

auth0-clojure.utils.macro-api


api-description-testclj

source

create-api-callclj

(create-api-call [name {:keys [:description :path] :as api-def}])

Creates an API function based on an EDN API definition.

Creates an API function based on an EDN API definition.
sourceraw docstring

implement-apicljmacro

(implement-api api-description)

Given an EDN API definition generates functions which receive http method, parameters and other custom data and return an EDN request, which in turn can be used to invoke an endpoint.

Given an EDN API definition generates functions
which receive http method, parameters and other custom data
and return an EDN request, which in turn can be used to invoke
an endpoint.
sourceraw docstring

path->fn-argsclj

(path->fn-args path)

Converts the path provided to a destructuring map. Each keyword is considered a parameter. Example: ["connections" :id] -> {id :id :as params}

Converts the path provided to a destructuring map. Each keyword is considered
a parameter.
Example:
["connections" :id] -> {id :id :as params}
sourceraw docstring

runtime-pathclj

(runtime-path path params)

Matches params keys provided with their actual values at runtime.

Matches params keys provided with their actual values at runtime.
sourceraw docstring

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

× close