doc: openapi content type for file download in examples/http-swagger

This commit is contained in:
Joel Kaasinen 2023-03-16 10:08:06 +02:00
parent 224acf930e
commit 6c3db02163

View file

@ -76,6 +76,8 @@
["/download"
{:get {:summary "downloads a file"
:swagger {:produces ["image/png"]}
:responses {200 {:description "an image"
:content {"image/png" any?}}}
:handler (fn [_]
{:status 200
:headers {"Content-Type" "image/png"}