Skip to content

Commit

Permalink
Replace allOf -> anyOf
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Oct 29, 2024
1 parent 36e2f47 commit 6208343
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,7 @@ components:
channel: "#/components/schemas/Channel"
dehydrated_channel: "#/components/schemas/DehydratedChannel"
CastWithInteractions:
allOf:
anyOf:
- $ref: "#/components/schemas/Cast"
- type: object
required:
Expand Down Expand Up @@ -1886,7 +1886,7 @@ components:
author_channel_context:
$ref: "#/components/schemas/ChannelUserContext"
CastWithInteractionsAndConversations:
allOf:
anyOf:
- $ref: "#/components/schemas/CastWithInteractions"
- type: object
required:
Expand All @@ -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:
Expand Down

0 comments on commit 6208343

Please sign in to comment.