projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ChatOperation: Add media id to example
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
account_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/account_operation.ex
b/lib/pleroma/web/api_spec/operations/account_operation.ex
index 470fc0215f63a3a0fce3634a9419068e32eeed61..70069d6f9671307ec3f07e44b5a8523dedd3fa26 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/account_operation.ex
@@
-556,11
+556,12
@@
defmodule Pleroma.Web.ApiSpec.AccountOperation do
}
end
- def
p
array_of_accounts do
+ def array_of_accounts do
%Schema{
title: "ArrayOfAccounts",
type: :array,
- items: Account
+ items: Account,
+ example: [Account.schema().example]
}
end