Liking cljdoc? Tell your friends :D

martian.core


bootstrapclj/s

(bootstrap api-root concise-handlers & [{:keys [produces consumes] :as opts}])

Creates a martian instance from a martian description

Creates a martian instance from a martian description
raw docstring

bootstrap-openapiclj/s

(bootstrap-openapi api-root json & [opts])

Creates a martian instance from an openapi/swagger spec based on the schema provided

Creates a martian instance from an openapi/swagger spec based on the schema provided
raw docstring

bootstrap-swaggerclj/s


default-interceptorsclj/s


exploreclj/s

(explore martian)
(explore martian route-name)

find-handlerclj/s

(find-handler handlers route-name)

handler-forclj/s

(handler-for m route-name)

Martianclj/s


request-forclj/s

(request-for martian route-name)
(request-for martian route-name params)

response-forclj/s

(response-for martian route-name)
(response-for martian route-name params)

update-handlerclj/s

(update-handler m route-name update-fn & update-args)

Update a handler in the martian record with the provided route-name e.g. add route-specific interceptors: (update-handler m :load-pet assoc :interceptors [an-interceptor])

Update a handler in the martian record with the provided route-name
e.g. add route-specific interceptors:
(update-handler m :load-pet assoc :interceptors [an-interceptor])
raw docstring

url-forclj/s

(url-for martian route-name)
(url-for martian route-name params)

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

× close