diff --git a/examples/ring-malli-swagger/src/example/server.clj b/examples/ring-malli-swagger/src/example/server.clj index db40c973..9969b618 100644 --- a/examples/ring-malli-swagger/src/example/server.clj +++ b/examples/ring-malli-swagger/src/example/server.clj @@ -69,7 +69,8 @@ ;;:validate spec/validate ;; enable spec validation for route data ;;:reitit.spec/wrap spell/closed ;; strict top-level validation :exception pretty/exception - :data {:coercion reitit.coercion.malli/coercion + :data {:coercion (reitit.coercion.malli/create + {:error-keys #{:type :coercion :in :humanized #_:schema #_:value #_:transformed #_:errors}}) :muuntaja m/instance :middleware [;; swagger feature swagger/swagger-feature