Skip to content

Node.js based forum software built for the modern web

fix: schema... not sure why I need this all of a sudden

Julian Lam3e2070b2c3db
diff --git a/public/openapi/components/schemas/PostObject.yaml b/public/openapi/components/schemas/PostObject.yaml
index 80c9a06cd3..1d8f2f5b67 100644
--- a/public/openapi/components/schemas/PostObject.yaml
+++ b/public/openapi/components/schemas/PostObject.yaml
@@ -122,6 +122,23 @@ PostObject:
type: array
items:
$ref: ../../components/schemas/TagObject.yaml#/TagObject
+ thumbs:
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ type: number
+ description: The topic id
+ name:
+ type: string
+ description: The topic thumbnail filename
+ path:
+ type: string
+ description: Path to topic thumbnail without upload_url prefix
+ url:
+ type: string
+ description: Relative path to the topic thumbnail
required:
- uid
- tid