From 60e416a9df0b9000576621f1c3191589b35c89dd Mon Sep 17 00:00:00 2001 From: Shreyaschorge Date: Thu, 14 Dec 2023 20:27:45 +0530 Subject: [PATCH] Separate CastWithInteractionsReactions and CastWithInteractionsRecasts from CastWithInteractionsReactionsOrRecasts --- src/v1/spec.yaml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/src/v1/spec.yaml b/src/v1/spec.yaml index b506891..e3468a2 100644 --- a/src/v1/spec.yaml +++ b/src/v1/spec.yaml @@ -392,11 +392,12 @@ components: $ref: "#/components/schemas/EmbedUrl" type: $ref: "#/components/schemas/CastType" - CastWithInteractionsReactionsOrRecasts: + CastWithInteractionsReactions: type: object required: - count - fids + - fnames properties: count: type: integer @@ -409,6 +410,19 @@ components: type: array items: type: string + CastWithInteractionsRecasts: + type: object + required: + - count + - fids + properties: + count: + type: integer + format: int32 + fids: + type: array + items: + $ref: "#/components/schemas/Fid" CastWithInteractionsReplies: type: object required: @@ -428,9 +442,9 @@ components: - replies properties: reactions: - $ref: "#/components/schemas/CastWithInteractionsReactionsOrRecasts" + $ref: "#/components/schemas/CastWithInteractionsReactions" recasts: - $ref: "#/components/schemas/CastWithInteractionsReactionsOrRecasts" + $ref: "#/components/schemas/CastWithInteractionsRecasts" recasters: type: array items: