Skip to content

Commit

Permalink
fix: don't output :default in openapi request body
Browse files Browse the repository at this point in the history
  • Loading branch information
Martín Varela committed Feb 9, 2024
1 parent 989ab72 commit 39da403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/reitit-openapi/src/reitit/openapi.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39da403

Please sign in to comment.