diff --git a/modules/reitit-spec/src/reitit/coercion/spec.cljc b/modules/reitit-spec/src/reitit/coercion/spec.cljc index e81a24fa..7bee7da6 100644 --- a/modules/reitit-spec/src/reitit/coercion/spec.cljc +++ b/modules/reitit-spec/src/reitit/coercion/spec.cljc @@ -77,7 +77,7 @@ (into (empty responses) (for [[k response] responses] - [k (update response :schema #(coercion/-compile-model this % nil))]))))) + [k (update response :body #(coercion/-compile-model this % nil))]))))) (-compile-model [_ model name] (into-spec model (or name (gensym "spec")))) (-open-model [_ spec] spec)