Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex

This commit is contained in:
minibikini 2020-04-15 10:48:32 +00:00
parent bfa26b0937
commit a45bd91d4e

View File

@ -116,7 +116,7 @@ def statuses_operation do
"Statuses posted to the given account. Public (for public statuses only), or user token + `read:statuses` (for private statuses the user is authorized to see)",
parameters: [
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
Operation.parameter(:pinned, :query, BooleanLike, "Pinned"),
Operation.parameter(:pinned, :query, BooleanLike, "Include only pinned statuses"),
Operation.parameter(:tagged, :query, :string, "With tag"),
Operation.parameter(:only_media, :query, BooleanLike, "Include only statuses with media attached"),
Operation.parameter(:with_muted, :query, BooleanLike, "Include statuses from muted acccounts."),