From 12f0970e393dbdb841758a68d1b149d4e759f727 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Fri, 18 Aug 2023 15:04:47 +0300 Subject: [PATCH] fix example --- doc/ring/coercion.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ring/coercion.md b/doc/ring/coercion.md index 5080449d..5ba6a70e 100644 --- a/doc/ring/coercion.md +++ b/doc/ring/coercion.md @@ -167,8 +167,8 @@ You can also specify request and response body schemas per content-type. The syn :responses {200 {:content {"application/json" {:w s/Int} "application/edn" {:x s/Int}} ;; default if no content-type matches: - :body {:ww s/Int}} - :handler ...}}}]] + :body {:ww s/Int}}} + :handler ...}}]] {:data {:middleware [rrc/coerce-exceptions-middleware rrc/coerce-request-middleware rrc/coerce-response-middleware]}})))