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.yamlindex 2c6595c1ca..ed546b052a 100644--- a/public/openapi/components/schemas/PostsObject.yaml+++ b/public/openapi/components/schemas/PostsObject.yaml@@ -112,4 +112,6 @@ PostsObject:nullable: truetype: stringisMainPost:- type: boolean\ No newline at end of file+ type: boolean+ replies:+ type: number\ No newline at end of filediff --git a/public/openapi/read.yaml b/public/openapi/read.yamlindex 3f48c64ccb..3c343c586e 100644--- a/public/openapi/read.yaml+++ b/public/openapi/read.yaml@@ -3211,6 +3211,8 @@ paths:flagId:type: numberdescription: The flag identifier, if this particular post has been flagged before+ replies:+ type: number"/api/topic/tid/{id}":get:tags: