Add OpenAPI spec for ConversationController
[akkoma] / lib / pleroma / web / api_spec / schemas / status.ex
index aef0588d43d29965fe31b376c28a8d6843053e89..42e9dae19fdae009d6e69d7a21652ec7b0cc8d6c 100644 (file)
@@ -86,7 +86,12 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
         properties: %{
           content: %Schema{type: :object, additionalProperties: %Schema{type: :string}},
           conversation_id: %Schema{type: :integer},
-          direct_conversation_id: %Schema{type: :string, nullable: true},
+          direct_conversation_id: %Schema{
+            type: :integer,
+            nullable: true,
+            description:
+              "The ID of the Mastodon direct message conversation the status is associated with (if any)"
+          },
           emoji_reactions: %Schema{
             type: :array,
             items: %Schema{