Liking cljdoc? Tell your friends :D
Clojure only.

compojure.api.validator


validateclj

(validate api)

Validates an api. If the api is Swagger-enabled, the swagger-spec is requested and validated against the JSON Schema. Returns either the (valid) api or throws an exception. Requires lazily the ring.swagger.validator -namespace allowing it to be excluded, #227

Validates an api. If the api is Swagger-enabled, the swagger-spec
is requested and validated against the JSON Schema. Returns either
the (valid) api or throws an exception. Requires lazily the
ring.swagger.validator -namespace allowing it to be excluded, #227
sourceraw 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