(generate-routes config & {:keys [mocks-path] :or {mocks-path nil}})
Returns an atom of generated router for given mocks endpoints.
These will be gathered from either the
:mocks-path
and :config-path
from the config path;:mocks-path
passed directly.It's important to remember that both config-path
and mocks-path
are merged during route creation.
Returns an atom of generated router for given mocks endpoints. These will be gathered from either the 1. `:mocks-path` and `:config-path` from the config path; 2. solely from the `:mocks-path` passed directly. It's important to remember that both `config-path` and `mocks-path` are merged during route creation.
(inputs->config {:keys [args opts]} envs)
Adapts input args to a compact config map, used later on by the remaining application modules.
Adapts input args to a compact config map, used later on by the remaining application modules.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close