1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ApiSpec.Schemas.ChatMessageCreateRequest do
6 alias OpenApiSpex.Schema
10 title: "ChatMessageCreateRequest",
11 description: "POST body for creating an chat message",
14 content: %Schema{type: :string, description: "The content of your message"}
17 "content" => "Hey wanna buy feet pics?"