aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations/account_operation.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-07 18:53:34 +0200
committerlain <lain@soykaf.club>2020-05-07 18:53:34 +0200
commitef55d240540ed9fbac76248c60bdb23f82c3f36e (patch)
treee65130d12a256026edb1a4768fc97e2271173248 /lib/pleroma/web/api_spec/operations/account_operation.ex
parent7ac0cffb34567dd72877e13968a10d206f643ad8 (diff)
parentbef08b85e5e1e25b65851938d6152bf0c170af03 (diff)
downloadpleroma-ef55d240540ed9fbac76248c60bdb23f82c3f36e.tar.gz
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/emojireactvalidator
Diffstat (limited to 'lib/pleroma/web/api_spec/operations/account_operation.ex')
-rw-r--r--lib/pleroma/web/api_spec/operations/account_operation.ex5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex
index 470fc0215..70069d6f9 100644
--- 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
- defp array_of_accounts do
+ def array_of_accounts do
%Schema{
title: "ArrayOfAccounts",
type: :array,
- items: Account
+ items: Account,
+ example: [Account.schema().example]
}
end