ChatController: Make last_read_id mandatory.
This commit is contained in:
parent
680fa5fa36
commit
fe2a5d0614
3 changed files with 11 additions and 27 deletions
|
|
@ -340,10 +340,11 @@ defmodule Pleroma.Web.ApiSpec.ChatOperation do
|
|||
title: "MarkAsReadRequest",
|
||||
description: "POST body for marking a number of chat messages as read",
|
||||
type: :object,
|
||||
required: [:last_read_id],
|
||||
properties: %{
|
||||
last_read_id: %Schema{
|
||||
type: :string,
|
||||
description: "The content of your message. Optional."
|
||||
description: "The content of your message."
|
||||
}
|
||||
},
|
||||
example: %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue