Node.js based forum software built for the modern web
docs: update openapi spec with new (missing) properties
Julian Lamb32b7fccffd6
diff --git a/public/openapi/read/category/category_id.yaml b/public/openapi/read/category/category_id.yamlindex 28502d30f7..273e4c41e6 100644--- a/public/openapi/read/category/category_id.yaml+++ b/public/openapi/read/category/category_id.yaml@@ -61,6 +61,9 @@ get:type: booleanisIgnored:type: boolean+ hasFollowers:+ type: boolean+ nullable: truetitle:type: stringselectCategoryLabel:diff --git a/public/openapi/read/world.yaml b/public/openapi/read/world.yamlindex 2b29fbc247..8bf706add3 100644--- a/public/openapi/read/world.yaml+++ b/public/openapi/read/world.yaml@@ -30,32 +30,6 @@ get:type: arrayitems:$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: numberselectedTag:type: objectproperties:@@ -74,6 +48,9 @@ get:type: booleanisIgnored:type: boolean+ hasFollowers:+ type: boolean+ nullable: truefeeds:disableRSS:type: numberrssFeedUrl:@@ -108,58 +85,10 @@ get:type: booleanisAdminOrMod:type: boolean- # filters:- # type: array- # items:- # type: object- # 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+ categories:+ type: array+ items:+ $ref: ../components/schemas/CategoryObject.yaml#/CategoryObject- $ref: ../components/schemas/Pagination.yaml#/Pagination- $ref: ../components/schemas/Breadcrumbs.yaml#/Breadcrumbs- $ref: ../components/schemas/CommonProps.yaml#/CommonProps\ No newline at end of file