Skip to content

Node.js based forum software built for the modern web

fix: missing openapi schema change

Julian Lame9a0d495939f
diff --git a/public/openapi/read/admin/manage/categories/category_id/federation.yaml b/public/openapi/read/admin/manage/categories/category_id/federation.yaml
index 27f9464c3a..0da16bed78 100644
--- a/public/openapi/read/admin/manage/categories/category_id/federation.yaml
+++ b/public/openapi/read/admin/manage/categories/category_id/federation.yaml
@@ -36,6 +36,24 @@ get:
approved:
type: boolean
description: Whether the follow request has been accepted
+ followers:
+ type: array
+ items:
+ type: object
+ properties:
+ userslug:
+ type: string
+ description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.)
+ example: dragon-fruit
+ picture:
+ type: string
+ description: A URL pointing to a picture to be used as the user's avatar
+ example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80'
+ nullable: true
+ uid:
+ type: number
+ description: A user identifier
+ example: 1
selectedCategory:
$ref: ../../../../../components/schemas/CategoryObject.yaml#/CategoryObject
- $ref: ../../../../../components/schemas/CommonProps.yaml#/CommonProps
\ No newline at end of file