add openapi

isekai-main
Barış Soner Uşaklı 2 years ago
parent 05b6758e59
commit 6a526631b4

@ -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}":

@ -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
Loading…
Cancel
Save