compojure.api.core
defroutes
macro
(defroutes name & routes)
Define a Ring handler function from a sequence of routes. The name may optionally be followed by a doc-string and metadata map.
let-routes
macro
(let-routes bindings & body)
Takes a vector of bindings and a body of routes.
Equivalent to: (let [...] (routes ...))
ring-handler
(ring-handler handler)
Creates vanilla ring-handler from any invokable thing (e.g. compojure-api route)
route-middleware
(route-middleware middleware & body)
Wraps routes with given middlewares using thread-first macro.
undocumented
(undocumented & handlers)
Routes without route-documentation. Can be used to wrap routes, not satisfying compojure.api.routes/Routing -protocol.