Liking cljdoc? Tell your friends :D

bidi-swagger.core


merge-pathsclj

(merge-paths docs)
source

param-to-stringclj

(param-to-string param)

Convert a keyword parameter to swagger parameter string.

Convert a keyword parameter to swagger parameter string.
sourceraw docstring

PathElementcljprotocol

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-pclj

(match-p _)
sourceraw docstring

swag-docsclj

(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. 
sourceraw docstring

swag-pathclj

(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
sourceraw docstring

swag-path-paramclj

(swag-path-param param)

Create swagger info for a path parameter.

Create swagger info for a path parameter.
sourceraw docstring

swag-routesclj

(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).
sourceraw docstring

swaggupclj

(swaggup docs)
source

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

× close