projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b68d56c
)
Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
author
lain
<lain@soykaf.club>
Thu, 30 Apr 2020 11:38:26 +0000
(11:38 +0000)
committer
lain
<lain@soykaf.club>
Thu, 30 Apr 2020 11:38:26 +0000
(11:38 +0000)
lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex
patch
|
blob
|
history
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 4dafcda43ee328d7f034fd37bd6c86da6ac417a0..8e1b7af14635d2591850bb5cd7de4f4d3ad011c5 100644
(file)
--- 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?"
}