From: lain Date: Thu, 30 Apr 2020 11:38:26 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=ad2182bbd231b475c5bfc70485f35ad1f8841912;p=akkoma Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex --- 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?" }