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
1 changed files with 1 additions and 0 deletions

View File

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