diff --git a/modules/reitit-malli/src/reitit/coercion/malli.cljc b/modules/reitit-malli/src/reitit/coercion/malli.cljc index eb97457e..89dce54c 100644 --- a/modules/reitit-malli/src/reitit/coercion/malli.cljc +++ b/modules/reitit-malli/src/reitit/coercion/malli.cljc @@ -136,7 +136,7 @@ (into (empty parameters) (for [[k v] parameters] - [k (coercion/-compile-model this v nil)]))}) + [k (compile v options)]))}) (if responses {::swagger/responses (into @@ -145,7 +145,7 @@ [k (as-> response $ (set/rename-keys $ {:body :schema}) (if (:schema $) - (update $ :schema #(coercion/-compile-model this % nil)) + (update $ :schema compile options) $))]))}))) ;; :openapi handled in reitit.openapi/-get-apidocs-openapi (throw