(param-to-string param)
Convert a keyword parameter to swagger parameter string.
Convert a keyword parameter to swagger parameter string.
Bidi path elements define the path and request properties of a route.
Bidi path elements define the path and request properties of a route.
(match-p _)
(swag-docs route docs docs-fn)
Create base swagger info for a route. Docs-fn should take a handler id and return some swagger docs info to be merged into the swagger path definition.
Create base swagger info for a route. Docs-fn should take a handler id and return some swagger docs info to be merged into the swagger path definition.
(swag-path path)
Find the swagger URL path and request methods for a route
Find the swagger URL path and request methods for a route
(swag-path-param param)
Create swagger info for a path parameter.
Create swagger info for a path parameter.
(swag-routes routes docs)
(swag-routes routes docs docs-fn)
Takes a set of bidi routes and additional documentation and returns swagger API documenttation. Docs-fn should be a function (fn [docs handler]) that returns appropriate documentation for a handler id. The default implementation is (get docs handler).
Takes a set of bidi routes and additional documentation and returns swagger API documenttation. Docs-fn should be a function (fn [docs handler]) that returns appropriate documentation for a handler id. The default implementation is (get docs handler).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close