Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_response.ex

This commit is contained in:
lain 2020-04-29 19:49:13 +00:00
parent 145d35ff70
commit b68d56c816

View File

@ -16,7 +16,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.ChatMessageResponse do
account_id: %Schema{type: :string, description: "The Mastodon API id of the actor"}, account_id: %Schema{type: :string, description: "The Mastodon API id of the actor"},
chat_id: %Schema{type: :string}, chat_id: %Schema{type: :string},
content: %Schema{type: :string}, content: %Schema{type: :string},
created_at: %Schema{type: :string, format: :datetime}, created_at: %Schema{type: :string, format: :"date-time"},
emojis: %Schema{type: :array} emojis: %Schema{type: :array}
}, },
example: %{ example: %{