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

This commit is contained in:
lain 2020-04-30 11:38:26 +00:00
parent b68d56c816
commit ad2182bbd2

View File

@ -13,6 +13,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.ChatMessageCreateRequest do
properties: %{ properties: %{
content: %Schema{type: :string, description: "The content of your message"} content: %Schema{type: :string, description: "The content of your message"}
}, },
required: [:content],
example: %{ example: %{
"content" => "Hey wanna buy feet pics?" "content" => "Hey wanna buy feet pics?"
} }