Fix format

This commit is contained in:
Egor Kislitsyn 2020-05-13 01:59:17 +04:00
parent cb1a3e196c
commit 79ad12064d
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805

View file

@ -221,8 +221,7 @@ def mute_conversation_operation do
tags: ["Statuses"], tags: ["Statuses"],
summary: "Mute conversation", summary: "Mute conversation",
security: [%{"oAuth" => ["write:mutes"]}], security: [%{"oAuth" => ["write:mutes"]}],
description: description: "Do not receive notifications for the thread that this status is part of.",
"Do not receive notifications for the thread that this status is part of.",
operationId: "StatusController.mute_conversation", operationId: "StatusController.mute_conversation",
parameters: [id_param()], parameters: [id_param()],
responses: %{ responses: %{
@ -378,8 +377,7 @@ defp create_request do
media_ids: %Schema{ media_ids: %Schema{
type: :array, type: :array,
items: %Schema{type: :string}, items: %Schema{type: :string},
description: description: "Array of Attachment ids to be attached as media."
"Array of Attachment ids to be attached as media."
}, },
poll: %Schema{ poll: %Schema{
type: :object, type: :object,
@ -388,8 +386,7 @@ defp create_request do
options: %Schema{ options: %Schema{
type: :array, type: :array,
items: %Schema{type: :string}, items: %Schema{type: :string},
description: description: "Array of possible answers. Must be provided with `poll[expires_in]`."
"Array of possible answers. Must be provided with `poll[expires_in]`."
}, },
expires_in: %Schema{ expires_in: %Schema{
type: :integer, type: :integer,