From 234eab9fcce7681b073e9d267eaf25bd6b852bdb Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 14 Jun 2023 23:26:31 +0500 Subject: [PATCH] add schema for self_thread in tweets --- src/openapi/schemas/tweet.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index f1b23a2..c1e84b3 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -200,6 +200,14 @@ components: id_str: type: string pattern: "^[0-9]+$" + self_thread: + type: object + required: + - "id_str" + properties: + id_str: + type: string + pattern: "^[0-9]+$" extended_entities: $ref: "#/components/schemas/ExtendedEntities"