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

This commit is contained in:
minibikini 2020-04-15 10:27:01 +00:00
parent a7feca1604
commit a794ba655f

View file

@ -118,7 +118,7 @@ def statuses_operation do
%Reference{"$ref": "#/components/parameters/accountIdOrNickname"}, %Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
Operation.parameter(:pinned, :query, BooleanLike, "Pinned"), Operation.parameter(:pinned, :query, BooleanLike, "Pinned"),
Operation.parameter(:tagged, :query, :string, "With tag"), Operation.parameter(:tagged, :query, :string, "With tag"),
Operation.parameter(:only_media, :query, BooleanLike, "Only meadia"), Operation.parameter(:only_media, :query, BooleanLike, "Include only statuses with media attached"),
Operation.parameter(:with_muted, :query, BooleanLike, "Include statuses from muted acccounts."), Operation.parameter(:with_muted, :query, BooleanLike, "Include statuses from muted acccounts."),
Operation.parameter(:exclude_reblogs, :query, BooleanLike, "Exclude reblogs"), Operation.parameter(:exclude_reblogs, :query, BooleanLike, "Exclude reblogs"),