mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 11:47:22 +02:00
fix: spec
This commit is contained in:
@@ -47,28 +47,36 @@ get:
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
bgColor:
|
||||
type: string
|
||||
cid:
|
||||
type: number
|
||||
color:
|
||||
type: string
|
||||
disabledClass:
|
||||
nullable: true
|
||||
icon:
|
||||
type: string
|
||||
imageClass:
|
||||
description: A category identifier
|
||||
name:
|
||||
type: string
|
||||
level:
|
||||
type: string
|
||||
link:
|
||||
type: string
|
||||
name:
|
||||
icon:
|
||||
type: string
|
||||
parentCid:
|
||||
type: number
|
||||
slug:
|
||||
description: The category identifier for the category that is the immediate
|
||||
ancestor of the current category
|
||||
color:
|
||||
type: string
|
||||
bgColor:
|
||||
type: string
|
||||
selected:
|
||||
type: boolean
|
||||
imageClass:
|
||||
type: string
|
||||
required:
|
||||
- bgColor
|
||||
- cid
|
||||
- color
|
||||
- icon
|
||||
- imageClass
|
||||
- level
|
||||
- name
|
||||
- parentCid
|
||||
allCategoriesUrl:
|
||||
type: string
|
||||
selectedCategory:
|
||||
|
||||
@@ -253,6 +253,16 @@ get:
|
||||
type: string
|
||||
allCategoriesUrl:
|
||||
type: string
|
||||
selectedCategory:
|
||||
type: object
|
||||
properties:
|
||||
icon:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
bgColor:
|
||||
type: string
|
||||
nullable: true
|
||||
selectedCids:
|
||||
type: array
|
||||
items:
|
||||
|
||||
Reference in New Issue
Block a user