Liking cljdoc? Tell your friends :D

automaton-simulation-de.middleware.schema-validation

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
raw docstring

request-validationclj/s

(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`
raw docstring

response-validationclj/s

(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`
raw docstring

state-renderingclj/s

(state-rendering rendering-fn handler)

Apply a rendering function to the state

Apply a rendering function to the state
raw docstring

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

× close