projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pleroma.instance: Fix Exiftool module name
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
helpers.ex
diff --git
a/lib/pleroma/web/api_spec/helpers.ex
b/lib/pleroma/web/api_spec/helpers.ex
index 2a7f1a706bc737d1ed829fb6bf7d1c3bf015acf1..34de2ed576c736d5cbe30db91762a26351f6ec4f 100644
(file)
--- a/
lib/pleroma/web/api_spec/helpers.ex
+++ b/
lib/pleroma/web/api_spec/helpers.ex
@@
-72,7
+72,11
@@
defmodule Pleroma.Web.ApiSpec.Helpers do
end
def empty_array_response do
end
def empty_array_response do
- Operation.response("Empty array", "application/json", %Schema{type: :array, example: []})
+ Operation.response("Empty array", "application/json", %Schema{
+ type: :array,
+ items: %Schema{type: :object, example: %{}},
+ example: []
+ })
end
def no_content_response do
end
def no_content_response do