Skip to content

Node.js based forum software built for the modern web

tesT: add hideReadNotifications to openapi spec

Barış Soner Uşaklıb3748e718f4e
diff --git a/public/openapi/components/schemas/SettingsObj.yaml b/public/openapi/components/schemas/SettingsObj.yaml
index 7ef95a0b19..d3b8641485 100644
--- a/public/openapi/components/schemas/SettingsObj.yaml
+++ b/public/openapi/components/schemas/SettingsObj.yaml
@@ -126,6 +126,9 @@ Settings:
acpLang:
type: string
description: Language localisation for the admin control panel
+ hideReadNotifications:
+ type: boolean
+ description: Hide notifications that have been marked as read in the notifications list
notificationType_new-register:
type: string
description: Notification type for new registration in queue
diff --git a/public/openapi/read/admin/config.yaml b/public/openapi/read/admin/config.yaml
index 457e63fcc9..bce8df8562 100644
--- a/public/openapi/read/admin/config.yaml
+++ b/public/openapi/read/admin/config.yaml
@@ -157,6 +157,8 @@ get:
type: number
acpLang:
type: string
+ hideReadNotifications:
+ type: boolean
openOutgoingLinksInNewTab:
type: boolean
topicSearchEnabled:
diff --git a/public/openapi/read/config.yaml b/public/openapi/read/config.yaml
index f4ae1dfe87..09f3a168c6 100644
--- a/public/openapi/read/config.yaml
+++ b/public/openapi/read/config.yaml
@@ -150,6 +150,8 @@ get:
type: number
acpLang:
type: string
+ hideReadNotifications:
+ type: boolean
openOutgoingLinksInNewTab:
type: boolean
topicSearchEnabled: