Skip to content

Commit

Permalink
More anyOf fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tybook committed Oct 29, 2024
1 parent 00daae8 commit ed650b6
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 ed650b6

Please sign in to comment.