Fix formatting
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 15 Apr 2020 11:39:32 +0000 (15:39 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 15 Apr 2020 11:57:00 +0000 (15:57 +0400)
lib/pleroma/web/api_spec/operations/account_operation.ex

index 92622e2ff45403b38839ac230be3e500558abda8..6c9de51bba8363b1fa678d2c3debe98046fd857c 100644 (file)
@@ -118,19 +118,38 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
         %Reference{"$ref": "#/components/parameters/accountIdOrNickname"},
         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."),
+        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(:exclude_reblogs, :query, BooleanLike, "Exclude reblogs"),
-
         Operation.parameter(
           :exclude_visibilities,
           :query,
           %Schema{type: :array, items: VisibilityScope},
           "Exclude visibilities"
         ),
-        Operation.parameter(:max_id, :query, :string, "Return statuses older than this id"),
-        Operation.parameter(:min_id, :query, :string, "Return the oldest statuses newer than this id. "),
-        Operation.parameter(:since_id, :query, :string, "Return the newest statuses newer than this id. "),
+        Operation.parameter(:max_id, :query, :string, "Return statuses older than this ID"),
+        Operation.parameter(
+          :min_id,
+          :query,
+          :string,
+          "Return the oldest statuses newer than this ID"
+        ),
+        Operation.parameter(
+          :since_id,
+          :query,
+          :string,
+          "Return the newest statuses newer than this ID"
+        ),
         Operation.parameter(
           :limit,
           :query,