Skip to content

Node.js based forum software built for the modern web

fix: new openapi def for replies addition

Julian Lamb58712756096
diff --git a/public/openapi/components/schemas/PostsObject.yaml b/public/openapi/components/schemas/PostsObject.yaml
index 2c6595c1ca..ed546b052a 100644
--- a/public/openapi/components/schemas/PostsObject.yaml
+++ b/public/openapi/components/schemas/PostsObject.yaml
@@ -112,4 +112,6 @@ PostsObject:
nullable: true
type: string
isMainPost:
- type: boolean
\ No newline at end of file
+ type: boolean
+ replies:
+ type: number
\ No newline at end of file
diff --git a/public/openapi/read.yaml b/public/openapi/read.yaml
index 3f48c64ccb..3c343c586e 100644
--- a/public/openapi/read.yaml
+++ b/public/openapi/read.yaml
@@ -3211,6 +3211,8 @@ paths:
flagId:
type: number
description: The flag identifier, if this particular post has been flagged before
+ replies:
+ type: number
"/api/topic/tid/{id}":
get:
tags: