docs: update openapi spec with new (missing) properties

This commit is contained in:
Julian Lam
2025-04-30 15:18:05 -04:00
parent 2bf2e55664
commit b32b7fccff
2 changed files with 10 additions and 78 deletions

View File

@@ -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:

View File

@@ -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