WESEEK Kaito 6 лет назад
Родитель
Сommit
e73bb97cf0
1 измененных файлов с 15 добавлено и 27 удалено
  1. 15 27
      src/server/routes/apiv3/security-setting.js

+ 15 - 27
src/server/routes/apiv3/security-setting.js

@@ -52,33 +52,21 @@ const validator = {
  *        type: object
  *          GeneralSetting:
  *            type:object
- *              GuestModeParams:
- *                type: object
- *                properties:
- *                  restrictGuestMode:
- *                    type: string
- *                    description: type of restrictGuestMode
- *              PageDeletionParams:
- *                type: object
- *                properties:
- *                  pageCompleteDeletionAuthority:
- *                    type: string
- *                    description: type of pageDeletionAuthority
- *              WikiModeParams:
- *                type: object
- *                properties:
- *                  wikiMode:
- *                    type: string
- *                    description: type of wikiMode
- *              Function:
- *                type: object
- *                properties:
- *                  hideRestrictedByOwner:
- *                    type: boolean
- *                    description: enable hide by owner
- *                  hideRestrictedByGroup:
- *                    type: boolean
- *                    description: enable hide by group
+ *              restrictGuestMode:
+ *                type: string
+ *                description: type of restrictGuestMode
+ *              pageCompleteDeletionAuthority:
+ *                type: string
+ *                description: type of pageDeletionAuthority
+ *              wikiMode:
+ *                type: string
+ *                description: type of wikiMode
+ *              hideRestrictedByOwner:
+ *                type: boolean
+ *                description: enable hide by owner
+ *              hideRestrictedByGroup:
+ *                type: boolean
+ *                description: enable hide by group
  *          GitHubOAuthSetting:
  *            type:object
  *              githubClientId: