From 6208343b9dc2f6b40a014d58a9893251ede8a549 Mon Sep 17 00:00:00 2001 From: Shreyaschorge Date: Wed, 30 Oct 2024 04:26:15 +0530 Subject: [PATCH] Replace allOf -> anyOf --- src/v2/spec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v2/spec.yaml b/src/v2/spec.yaml index fb8a349..a95c949 100644 --- a/src/v2/spec.yaml +++ b/src/v2/spec.yaml @@ -1853,7 +1853,7 @@ components: channel: "#/components/schemas/Channel" dehydrated_channel: "#/components/schemas/DehydratedChannel" CastWithInteractions: - allOf: + anyOf: - $ref: "#/components/schemas/Cast" - type: object required: @@ -1886,7 +1886,7 @@ components: author_channel_context: $ref: "#/components/schemas/ChannelUserContext" CastWithInteractionsAndConversations: - allOf: + anyOf: - $ref: "#/components/schemas/CastWithInteractions" - type: object required: @@ -1899,7 +1899,7 @@ components: description: "note: This is recursive. It contains the direct replies to the cast and their direct replies up to n reply_depth." CastWithInteractionsAndConversationsRef: description: Reference to CastWithInteractionsAndConversations to avoid circular reference - allOf: + anyOf: - $ref: "#/components/schemas/CastWithInteractions" - type: object required: