Liking cljdoc? Tell your friends :D

martian.interceptors


coerce-dataclj/s

(coerce-data {:keys [parameter-aliases] :as handler} schema-key params opts)

coerce-responseclj/s

(coerce-response encoders)
(coerce-response encoders coerce-opts)

default-coerce-responseclj/s


default-encode-requestclj/s


drop-content-typeclj/s

(drop-content-type headers)

encode-requestclj/s

(encode-request encoders)

enqueue-route-specific-interceptorsclj/s


get-content-typeclj/s

(get-content-type headers)

injectclj/s

(inject interceptors new-interceptor relative-position interceptor-name)

Locates the named interceptor in the list of interceptors and adds (or replaces) the new interceptor to the list. relative-position may be :before, :after, or :replace. For :replace, the new interceptor may be nil, in which case the interceptor is removed. The named interceptor must exist, or an exception is thrown.

Locates the named interceptor in the list of interceptors and adds (or replaces)
the new interceptor to the list.
relative-position may be :before, :after, or :replace.
For :replace, the new interceptor may be nil, in which case the interceptor is removed.
The named interceptor must exist, or an exception is thrown.
raw docstring

keywordize-paramsclj/s


memo:content-type?clj/s


prepare-content-typesclj/s


remove-stackclj/s

(remove-stack ctx)

request-only-handlerclj/s


set-body-paramsclj/s


set-form-paramsclj/s


set-header-paramsclj/s


set-methodclj/s


set-query-paramsclj/s


set-urlclj/s


supported-content-typesclj/s

(supported-content-types interceptors)

Returns the full set of supported content-types used for parsing OpenAPI spec as declared by any encoding/decoding interceptors, preserving their original declaration order and appending the default ones.

Returns the full set of supported content-types used for parsing OpenAPI spec
as declared by any encoding/decoding interceptors, preserving their original
declaration order and appending the default ones.
raw docstring

validate-response-bodyclj/s

(validate-response-body)
(validate-response-body {:keys [strict?]})

Validate responses against the appropriate response schema. Optional strict mode throws an error if it is invalid

Validate responses against the appropriate response schema.
Optional strict mode throws an error if it is invalid
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close