mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
docs: update openapi spec with new (missing) properties
This commit is contained in:
@@ -61,6 +61,9 @@ get:
|
|||||||
type: boolean
|
type: boolean
|
||||||
isIgnored:
|
isIgnored:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
hasFollowers:
|
||||||
|
type: boolean
|
||||||
|
nullable: true
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
selectCategoryLabel:
|
selectCategoryLabel:
|
||||||
|
|||||||
@@ -30,32 +30,6 @@ get:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: ../components/schemas/TopicObject.yaml#/TopicObject
|
$ref: ../components/schemas/TopicObject.yaml#/TopicObject
|
||||||
# tids:
|
|
||||||
# type: array
|
|
||||||
# items:
|
|
||||||
# type: number
|
|
||||||
# canPost:
|
|
||||||
# type: boolean
|
|
||||||
# showSelect:
|
|
||||||
# type: boolean
|
|
||||||
# showTopicTools:
|
|
||||||
# type: boolean
|
|
||||||
# allCategoriesUrl:
|
|
||||||
# type: string
|
|
||||||
# selectedCategory:
|
|
||||||
# type: object
|
|
||||||
# properties:
|
|
||||||
# icon:
|
|
||||||
# type: string
|
|
||||||
# name:
|
|
||||||
# type: string
|
|
||||||
# bgColor:
|
|
||||||
# type: string
|
|
||||||
# nullable: true
|
|
||||||
# selectedCids:
|
|
||||||
# type: array
|
|
||||||
# items:
|
|
||||||
# type: number
|
|
||||||
selectedTag:
|
selectedTag:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
@@ -74,6 +48,9 @@ get:
|
|||||||
type: boolean
|
type: boolean
|
||||||
isIgnored:
|
isIgnored:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
hasFollowers:
|
||||||
|
type: boolean
|
||||||
|
nullable: true
|
||||||
feeds:disableRSS:
|
feeds:disableRSS:
|
||||||
type: number
|
type: number
|
||||||
rssFeedUrl:
|
rssFeedUrl:
|
||||||
@@ -108,58 +85,10 @@ get:
|
|||||||
type: boolean
|
type: boolean
|
||||||
isAdminOrMod:
|
isAdminOrMod:
|
||||||
type: boolean
|
type: boolean
|
||||||
# filters:
|
categories:
|
||||||
# type: array
|
type: array
|
||||||
# items:
|
items:
|
||||||
# type: object
|
$ref: ../components/schemas/CategoryObject.yaml#/CategoryObject
|
||||||
# properties:
|
|
||||||
# name:
|
|
||||||
# type: string
|
|
||||||
# url:
|
|
||||||
# type: string
|
|
||||||
# selected:
|
|
||||||
# type: boolean
|
|
||||||
# filter:
|
|
||||||
# type: string
|
|
||||||
# icon:
|
|
||||||
# type: string
|
|
||||||
# selectedFilter:
|
|
||||||
# type: object
|
|
||||||
# properties:
|
|
||||||
# name:
|
|
||||||
# type: string
|
|
||||||
# url:
|
|
||||||
# type: string
|
|
||||||
# selected:
|
|
||||||
# type: boolean
|
|
||||||
# filter:
|
|
||||||
# type: string
|
|
||||||
# icon:
|
|
||||||
# type: string
|
|
||||||
# terms:
|
|
||||||
# type: array
|
|
||||||
# items:
|
|
||||||
# type: object
|
|
||||||
# properties:
|
|
||||||
# name:
|
|
||||||
# type: string
|
|
||||||
# url:
|
|
||||||
# type: string
|
|
||||||
# selected:
|
|
||||||
# type: boolean
|
|
||||||
# term:
|
|
||||||
# type: string
|
|
||||||
# selectedTerm:
|
|
||||||
# type: object
|
|
||||||
# properties:
|
|
||||||
# name:
|
|
||||||
# type: string
|
|
||||||
# url:
|
|
||||||
# type: string
|
|
||||||
# selected:
|
|
||||||
# type: boolean
|
|
||||||
# term:
|
|
||||||
# type: string
|
|
||||||
- $ref: ../components/schemas/Pagination.yaml#/Pagination
|
- $ref: ../components/schemas/Pagination.yaml#/Pagination
|
||||||
- $ref: ../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
|
- $ref: ../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
|
||||||
- $ref: ../components/schemas/CommonProps.yaml#/CommonProps
|
- $ref: ../components/schemas/CommonProps.yaml#/CommonProps
|
||||||
Reference in New Issue
Block a user