projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
pleroma_notification_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/pleroma_notification_operation.ex
b/lib/pleroma/web/api_spec/operations/pleroma_notification_operation.ex
index b0c8db863acc4feadced1250148247d88ebf3031..1dda3924095d3e93c67738f73673cd197bb12acb 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/pleroma_notification_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/pleroma_notification_operation.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.PleromaNotificationOperation do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.PleromaNotificationOperation do
@@
-18,7
+18,8
@@
defmodule Pleroma.Web.ApiSpec.PleromaNotificationOperation do
def mark_as_read_operation do
%Operation{
tags: ["Notifications"],
def mark_as_read_operation do
%Operation{
tags: ["Notifications"],
- summary: "Mark notifications as read. Query parameters are mutually exclusive.",
+ summary: "Mark notifications as read",
+ description: "Query parameters are mutually exclusive.",
requestBody:
request_body("Parameters", %Schema{
type: :object,
requestBody:
request_body("Parameters", %Schema{
type: :object,
@@
-32,7
+33,7
@@
defmodule Pleroma.Web.ApiSpec.PleromaNotificationOperation do
responses: %{
200 =>
Operation.response(
responses: %{
200 =>
Operation.response(
- "A Notification or array of
M
otifications",
+ "A Notification or array of
N
otifications",
"application/json",
%Schema{
anyOf: [
"application/json",
%Schema{
anyOf: [