Skip to content

Node.js based forum software built for the modern web

docs: add teaser to postobject schema

Julian Lam0178e4fb7c63
diff --git a/public/openapi/components/schemas/PostObject.yaml b/public/openapi/components/schemas/PostObject.yaml
index 1d8f2f5b67..54dcc248c2 100644
--- a/public/openapi/components/schemas/PostObject.yaml
+++ b/public/openapi/components/schemas/PostObject.yaml
@@ -139,6 +139,8 @@ PostObject:
url:
type: string
description: Relative path to the topic thumbnail
+ teaser:
+ $ref: ../../components/schemas/TeaserObject.yaml#/TeaserObject
required:
- uid
- tid