(wrap-error-response handler opts)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-error-response-fn handler req {:as opts})(wrap-validation handler schema method path {:as opts :keys [include-schema]})Middleware that wraps a standard RING handler with OpenAPI request and response validation.
Validates both the incoming request and outgoing response according to the
provided schema, for the specified HTTP method and path. Additional
options:, such as including the validation schema with each
request (include-schema).
Middleware that wraps a standard RING handler with OpenAPI request and response validation. Validates both the incoming request and outgoing response according to the provided `schema`, for the specified HTTP `method` and `path`. Additional options:, such as including the validation schema with each request (`include-schema`).
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |