aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/operations
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-07-22 09:24:16 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-07-22 09:24:16 +0300
commit8d6f7aec2145fc012677cfd9f61cb3e2720edd68 (patch)
treee39c58741a47b98311b3d09e511dd6f52b7b8bc0 /lib/pleroma/web/api_spec/operations
parent5fcb3e873822c602a5f50cbeb159427e02ea1818 (diff)
parentc36113cdf5865cbccbd1da2f7404454134139e43 (diff)
downloadpleroma-8d6f7aec2145fc012677cfd9f61cb3e2720edd68.tar.gz
Merge branch 'develop' into issue/1023
Diffstat (limited to 'lib/pleroma/web/api_spec/operations')
-rw-r--r--lib/pleroma/web/api_spec/operations/account_operation.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex
index 952d9347b..50c8e0242 100644
--- a/lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/account_operation.ex
@@ -159,6 +159,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
"Accounts which follow the given account, if network is not hidden by the account owner.",
parameters: [
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
+ Operation.parameter(:id, :query, :string, "ID of the resource owner"),
with_relationships_param() | pagination_params()
],
responses: %{
@@ -177,6 +178,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
"Accounts which the given account is following, if network is not hidden by the account owner.",
parameters: [
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
+ Operation.parameter(:id, :query, :string, "ID of the resource owner"),
with_relationships_param() | pagination_params()
],
responses: %{200 => Operation.response("Accounts", "application/json", array_of_accounts())}