Merge branch 'openapi/conversations' into 'develop'
Add OpenAPI spec for ConversationController See merge request pleroma/pleroma!2445
This commit is contained in:
commit
76c1a7a34b
6 changed files with 125 additions and 15 deletions
|
|
@ -72,7 +72,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{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue