From 7b4127b0f14e942441122d8e7d53b9e76a43922a Mon Sep 17 00:00:00 2001 From: Joel Kaasinen Date: Mon, 28 Aug 2023 10:10:14 +0300 Subject: [PATCH] fix: examples/http-swagger broken by #628 fixes #634 --- examples/http-swagger/src/example/server.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/http-swagger/src/example/server.clj b/examples/http-swagger/src/example/server.clj index 6b5903d26..9d14ce91d 100644 --- a/examples/http-swagger/src/example/server.clj +++ b/examples/http-swagger/src/example/server.clj @@ -77,7 +77,7 @@ {:get {:summary "downloads a file" :swagger {:produces ["image/png"]} :responses {200 {:description "an image" - :content {"image/png" any?}}} + :content {"image/png" {:schema any?}}}} :handler (fn [_] {:status 200 :headers {"Content-Type" "image/png"}