forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
This commit is contained in:
parent
b68d56c816
commit
ad2182bbd2
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue