Used to validate both request and response The inconsistency of snapshots in both request and response are also detected
Used to validate both request and response The inconsistency of snapshots in both request and response are also detected
(request-validation handler)
Validate the request is well formed
Check the request's value is compatible with the scherma and its snapshot is consistent
Stop could be ::request-inconsistency
or ::request-schema
Params:
handler
Validate the request is well formed Check the request's value is compatible with the scherma and its snapshot is consistent Stop could be `::request-inconsistency` or `::request-schema` Params: * `handler`
(response-validation handler)
Validate the response is well formed
Check the response's value is compatible with the schema and its snapshot is consistent
Stop could be ::response-inconsistency
or ::response-schema
Params:
handler
Validate the response is well formed Check the response's value is compatible with the schema and its snapshot is consistent Stop could be `::response-inconsistency` or `::response-schema` Params: * `handler`
(state-rendering rendering-fn handler)
Apply a rendering function to the state
Apply a rendering function to the state
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close