From b587127560964fa15be3ae921018bff33a7f408e Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 27 Aug 2020 14:56:51 -0400 Subject: [PATCH] fix: new openapi def for replies addition --- public/openapi/components/schemas/PostsObject.yaml | 4 +++- public/openapi/read.yaml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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: