Fix format
This commit is contained in:
parent
cb1a3e196c
commit
79ad12064d
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue