|
|
@ -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?"
|
|
|
|
}
|
|
|
|
}
|
|
|
|