aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-30 11:38:26 +0000
committerlain <lain@soykaf.club>2020-04-30 11:38:26 +0000
commitad2182bbd231b475c5bfc70485f35ad1f8841912 (patch)
treef5e1d40e33fa8da60b58ab7d8917d333de47b0f7 /lib
parentb68d56c8168f27f63e157d43558e22f7c221c0e2 (diff)
downloadpleroma-ad2182bbd231b475c5bfc70485f35ad1f8841912.tar.gz
Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex b/lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
index 4dafcda43..8e1b7af14 100644
--- a/lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
+++ b/lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
@@ -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?"
}