mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
test: add missing spec files
This commit is contained in:
@@ -80,18 +80,36 @@ paths:
|
||||
$ref: 'read/admin/dashboard/topics.yaml'
|
||||
/api/admin/dashboard/searches:
|
||||
$ref: 'read/admin/dashboard/searches.yaml'
|
||||
"/api/admin/settings/{term}":
|
||||
$ref: 'read/admin/settings/term.yaml'
|
||||
"/api/admin/settings/general":
|
||||
$ref: 'read/admin/settings/general.yaml'
|
||||
/api/admin/settings/navigation:
|
||||
$ref: 'read/admin/settings/navigation.yaml'
|
||||
/api/admin/settings/api:
|
||||
$ref: 'read/admin/settings/api.yaml'
|
||||
/api/admin/settings/email:
|
||||
$ref: 'read/admin/settings/email.yaml'
|
||||
/api/admin/settings/user:
|
||||
$ref: 'read/admin/settings/user.yaml'
|
||||
/api/admin/settings/reputation:
|
||||
$ref: 'read/admin/settings/reputation.yaml'
|
||||
/api/admin/settings/group:
|
||||
$ref: 'read/admin/settings/group.yaml'
|
||||
/api/admin/settings/tags:
|
||||
$ref: 'read/admin/settings/tags.yaml'
|
||||
/api/admin/settings/post:
|
||||
$ref: 'read/admin/settings/post.yaml'
|
||||
/api/admin/settings/uploads:
|
||||
$ref: 'read/admin/settings/uploads.yaml'
|
||||
/api/admin/settings/email:
|
||||
$ref: 'read/admin/settings/email.yaml'
|
||||
/api/admin/settings/chat:
|
||||
$ref: 'read/admin/settings/chat.yaml'
|
||||
/api/admin/settings/pagination:
|
||||
$ref: 'read/admin/settings/pagination.yaml'
|
||||
/api/admin/settings/notifications:
|
||||
$ref: 'read/admin/settings/notifications.yaml'
|
||||
/api/admin/settings/api:
|
||||
$ref: 'read/admin/settings/api.yaml'
|
||||
/api/admin/settings/cookies:
|
||||
$ref: 'read/admin/settings/cookies.yaml'
|
||||
/api/admin/settings/web-crawler:
|
||||
$ref: 'read/admin/settings/web-crawler.yaml'
|
||||
/api/admin/settings/advanced:
|
||||
$ref: 'read/admin/settings/advanced.yaml'
|
||||
/api/admin/manage/categories:
|
||||
@@ -120,8 +138,12 @@ paths:
|
||||
$ref: 'read/admin/manage/uploads.yaml'
|
||||
/api/admin/manage/digest:
|
||||
$ref: 'read/admin/manage/digest.yaml'
|
||||
"/api/admin/appearance/{term}":
|
||||
$ref: 'read/admin/appearance/term.yaml'
|
||||
"/api/admin/appearance/themes":
|
||||
$ref: 'read/admin/appearance/themes.yaml'
|
||||
"/api/admin/appearance/skins":
|
||||
$ref: 'read/admin/appearance/skins.yaml'
|
||||
"/api/admin/appearance/customise":
|
||||
$ref: 'read/admin/appearance/customise.yaml'
|
||||
/api/admin/extend/plugins:
|
||||
$ref: 'read/admin/extend/plugins.yaml'
|
||||
/api/admin/extend/widgets:
|
||||
|
||||
@@ -2,13 +2,6 @@ get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get appearance settings
|
||||
parameters:
|
||||
- name: term
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: themes
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
11
public/openapi/read/admin/appearance/skins.yaml
Normal file
11
public/openapi/read/admin/appearance/skins.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get appearance settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
11
public/openapi/read/admin/appearance/themes.yaml
Normal file
11
public/openapi/read/admin/appearance/themes.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get appearance settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/chat.yaml
Normal file
16
public/openapi/read/admin/settings/chat.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get chat settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/cookies.yaml
Normal file
16
public/openapi/read/admin/settings/cookies.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get cookie settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
@@ -2,13 +2,6 @@ get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get system settings
|
||||
parameters:
|
||||
- name: term
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: general
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
16
public/openapi/read/admin/settings/group.yaml
Normal file
16
public/openapi/read/admin/settings/group.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get group settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/notifications.yaml
Normal file
16
public/openapi/read/admin/settings/notifications.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get notification settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/pagination.yaml
Normal file
16
public/openapi/read/admin/settings/pagination.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get pagination settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/reputation.yaml
Normal file
16
public/openapi/read/admin/settings/reputation.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get reputation settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/tags.yaml
Normal file
16
public/openapi/read/admin/settings/tags.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get tag settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/uploads.yaml
Normal file
16
public/openapi/read/admin/settings/uploads.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get upload settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
16
public/openapi/read/admin/settings/web-crawler.yaml
Normal file
16
public/openapi/read/admin/settings/web-crawler.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
get:
|
||||
tags:
|
||||
- admin
|
||||
summary: Get web crawler settings
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
Reference in New Issue
Block a user