Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
This commit is contained in:
parent
b68d56c816
commit
ad2182bbd2
@ -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?"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user