Liking cljdoc? Tell your friends :D

nl.jomco.openapi.v3.path-matcher


compare-templatesclj

(compare-templates x y)
source

path-matcherclj

(path-matcher template)

Return a matcher function that given a uri path, if the uri matches template, returns a map of :template and :parameters for the uri. Matcher returns nil if uri does not match.

Return a matcher function that given a uri path, if the uri matches
`template`, returns a map of :template and :parameters for the
uri. Matcher returns `nil` if uri does not match.
sourceraw docstring

paths-matcherclj

(paths-matcher templates)

Return a matcher given a collection of templates.

When matchers is given a uri, for the most specific template matching uri, return a map of :template and :parameters. Returns nil when no template matches.

Return a matcher given a collection of `templates`.

When matchers is given a uri, for the most specific template
matching uri, return a map of :template and :parameters. Returns
`nil` when no template matches.
sourceraw docstring

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

× close