From 6efe4f612bdcfb43b04282df4724d52f9db0a65c Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sat, 11 May 2019 10:25:19 +0300 Subject: [PATCH] Comment out spec-validation --- examples/http-swagger/src/example/server.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/http-swagger/src/example/server.clj b/examples/http-swagger/src/example/server.clj index 2de6d8fc..bd20c1fa 100644 --- a/examples/http-swagger/src/example/server.clj +++ b/examples/http-swagger/src/example/server.clj @@ -113,8 +113,8 @@ :body {:total (- x y)}})}}]]] {;:reitit.interceptor/transform dev/print-context-diffs ;; pretty context diffs - :validate spec/validate ;; enable spec validation for route data - :reitit.spec/wrap spell/closed ;; strict top-level validation (alpha) + ;;:validate spec/validate ;; enable spec validation for route data + ;;:reitit.spec/wrap spell/closed ;; strict top-level validation (alpha) :exception pretty/exception :data {:coercion spec-coercion/coercion :muuntaja m/instance