mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix(openapi): finished moving all category objects out
This commit is contained in:
@@ -626,112 +626,17 @@ paths:
|
|||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
category:
|
category:
|
||||||
type: object
|
allOf:
|
||||||
|
- $ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
imageClass:
|
|
||||||
type: string
|
|
||||||
timesClicked:
|
|
||||||
type: number
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
tagWhitelist:
|
tagWhitelist:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items: {}
|
||||||
unread-class:
|
unread-class:
|
||||||
type: string
|
type: string
|
||||||
parent:
|
parent:
|
||||||
type: object
|
$ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
properties:
|
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
imageClass:
|
|
||||||
type: string
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
allCategories:
|
allCategories:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -2475,53 +2380,10 @@ paths:
|
|||||||
description: A collection of category data objects
|
description: A collection of category data objects
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
allOf:
|
||||||
|
- $ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
tagWhitelist:
|
tagWhitelist:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items: {}
|
||||||
@@ -2530,53 +2392,10 @@ paths:
|
|||||||
children:
|
children:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: object
|
allOf:
|
||||||
|
- $ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
tagWhitelist:
|
tagWhitelist:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items: {}
|
||||||
@@ -2584,62 +2403,18 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
children:
|
children:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items:
|
||||||
|
$ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
parent:
|
parent:
|
||||||
type: object
|
allOf:
|
||||||
|
- $ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
tagWhitelist:
|
tagWhitelist:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items: {}
|
||||||
unread-class:
|
unread-class:
|
||||||
type: string
|
type: string
|
||||||
imageClass:
|
|
||||||
type: string
|
|
||||||
posts:
|
posts:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -6480,53 +6255,9 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
allOf:
|
allOf:
|
||||||
|
- $ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
tagWhitelist:
|
tagWhitelist:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items: {}
|
||||||
@@ -6534,7 +6265,8 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
children:
|
children:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items:
|
||||||
|
$ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
topics:
|
topics:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
@@ -6787,53 +6519,9 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
allOf:
|
allOf:
|
||||||
|
- $ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
cid:
|
|
||||||
type: number
|
|
||||||
description: A category identifier
|
|
||||||
name:
|
|
||||||
type: string
|
|
||||||
description:
|
|
||||||
type: string
|
|
||||||
icon:
|
|
||||||
type: string
|
|
||||||
slug:
|
|
||||||
type: string
|
|
||||||
topic_count:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
order:
|
|
||||||
type: number
|
|
||||||
bgColor:
|
|
||||||
type: string
|
|
||||||
link:
|
|
||||||
type: string
|
|
||||||
class:
|
|
||||||
type: string
|
|
||||||
numRecentReplies:
|
|
||||||
type: number
|
|
||||||
color:
|
|
||||||
type: string
|
|
||||||
post_count:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
descriptionParsed:
|
|
||||||
type: string
|
|
||||||
parentCid:
|
|
||||||
type: number
|
|
||||||
description: The category identifier for the category that is the immediate
|
|
||||||
ancestor of the current category
|
|
||||||
disabled:
|
|
||||||
type: number
|
|
||||||
isSection:
|
|
||||||
type: number
|
|
||||||
totalPostCount:
|
|
||||||
type: number
|
|
||||||
description: The number of posts in the category
|
|
||||||
totalTopicCount:
|
|
||||||
type: number
|
|
||||||
description: The number of topics in the category
|
|
||||||
tagWhitelist:
|
tagWhitelist:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items: {}
|
||||||
@@ -6841,7 +6529,8 @@ paths:
|
|||||||
type: string
|
type: string
|
||||||
children:
|
children:
|
||||||
type: array
|
type: array
|
||||||
items: {}
|
items:
|
||||||
|
$ref: components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
topics:
|
topics:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|||||||
Reference in New Issue
Block a user