(clasify-ref-keys refs)Groups a collection of reference keywords into a map of :required-keys and :optional-keys based on their namespace. If a key is marked as both required and optional, requirement takes priority.
Groups a collection of reference keywords into a map of :required-keys and :optional-keys based on their namespace. If a key is marked as both required and optional, requirement takes priority.
(compile {:keys [path method request description] :as op})Compiles an operation map into an executable closure mapped to the operation's name. The resulting map also exposes the required and optional referent keys needed for execution.
The compiled function expects a runtime context map and a request handler.
Compiles an operation map into an executable closure mapped to the operation's name. The resulting map also exposes the required and optional referent keys needed for execution. The compiled function expects a runtime context map and a request handler.
(full-url ctx path)Constructs a complete URL by resolving the path against the context (ctx) and appending it to the base-url found within the context.
Constructs a complete URL by resolving the path against the context (ctx) and appending it to the base-url found within the context.
(path->str ctx path)Resolves any dynamic references inside the path vector using the provided context (ctx) and joins the resulting segments into a URL path string.
Resolves any dynamic references inside the path vector using the provided context (ctx) and joins the resulting segments into a URL path string.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |