Liking cljdoc? Tell your friends :D
Clojure only.

compojure.api.validator


validateclj

(validate api)

Validates a 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 a 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 is a website building & hosting documentation for Clojure/Script libraries

× close