Skip to content

Commit

Permalink
anyOf fixes again
Browse files Browse the repository at this point in the history
  • Loading branch information
tybook committed Oct 30, 2024
1 parent c1950fe commit 3ab60a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ components:
url:
type: string
SearchedUser:
oneOf:
anyOf:
- $ref: "#/components/schemas/User"
- $ref: "#/components/schemas/ProfileUrl"
SignedKeyRequestSponsor:
Expand Down Expand Up @@ -1853,7 +1853,7 @@ components:
channel: "#/components/schemas/Channel"
dehydrated_channel: "#/components/schemas/DehydratedChannel"
CastWithInteractions:
anyOf:
allOf:
- $ref: "#/components/schemas/Cast"
- type: object
required:
Expand Down Expand Up @@ -1886,7 +1886,7 @@ components:
author_channel_context:
$ref: "#/components/schemas/ChannelUserContext"
CastWithInteractionsAndConversations:
anyOf:
allOf:
- $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
anyOf:
allOf:
- $ref: "#/components/schemas/CastWithInteractions"
- type: object
required:
Expand Down

0 comments on commit 3ab60a9

Please sign in to comment.