diff --git a/doc/ring/coercion.md b/doc/ring/coercion.md index 8e8fa6ec..6d584781 100644 --- a/doc/ring/coercion.md +++ b/doc/ring/coercion.md @@ -81,7 +81,7 @@ Here's an full example for applying coercion with Reitit, Ring and Schema: :parameters {:query {:x s/Int} :body {:y s/Int} :path {:z s/Int}} - :responses {200 {:schema {:total PositiveInt}}} + :responses {200 {:body {:total PositiveInt}}} :handler (fn [{:keys [parameters]}] (let [total (+ (-> parameters :query :x) (-> parameters :body :y)