From f1e6d37dcf18715cd31bec0625dd401cd33a2af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Varela?= Date: Fri, 9 Feb 2024 09:59:11 +0200 Subject: [PATCH] fix: don't output `:default` in openapi request body --- modules/reitit-openapi/src/reitit/openapi.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/reitit-openapi/src/reitit/openapi.cljc b/modules/reitit-openapi/src/reitit/openapi.cljc index b845e889..4a1b485b 100644 --- a/modules/reitit-openapi/src/reitit/openapi.cljc +++ b/modules/reitit-openapi/src/reitit/openapi.cljc @@ -130,7 +130,7 @@ :type :schema :content-type content-type})] [content-type (->content data schema)]))) - (:content request)))}}) + (dissoc (:content request) :default)))}}) (when multipart {:requestBody {:content