(wrap-error-response handler)
Wraps handler with error checking middleware that will transform validation
Exceptions to equivalent http response, as infered per ex->response
Wraps handler with error checking middleware that will transform validation Exceptions to equivalent http response, as infered per `ex->response`
(wrap-validation handler schema method path opts)
Takes a regular RING handler returns a handler that will apply openapi
validation from the supplied schema
for a given method
and path
Takes a regular RING handler returns a handler that will apply openapi validation from the supplied `schema` for a given `method` and `path`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close