Skip to content

Node.js based forum software built for the modern web

add openapi

Barış Soner Uşaklı6a526631b442
diff --git a/public/openapi/read.yaml b/public/openapi/read.yaml
index 31b446d351..ce6c0936fe 100644
--- a/public/openapi/read.yaml
+++ b/public/openapi/read.yaml
@@ -96,6 +96,8 @@ paths:
$ref: 'read/admin/settings/user.yaml'
/api/admin/settings/post:
$ref: 'read/admin/settings/post.yaml'
+ /api/admin/settings/advanced:
+ $ref: 'read/admin/settings/advanced.yaml'
/api/admin/manage/categories:
$ref: 'read/admin/manage/categories.yaml'
"/api/admin/manage/categories/{category_id}":
diff --git a/public/openapi/read/admin/settings/advanced.yaml b/public/openapi/read/admin/settings/advanced.yaml
new file mode 100644
index 0000000000..2cebeeb7e9
--- /dev/null
+++ b/public/openapi/read/admin/settings/advanced.yaml
@@ -0,0 +1,18 @@
+get:
+ tags:
+ - admin
+ summary: Get advanced settings
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - type: object
+ properties:
+ groupsExemptFromMaintenanceMode:
+ type: array
+ items:
+ $ref: ../../../components/schemas/GroupObject.yaml#/GroupDataObject
+ - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
\ No newline at end of file