Skip to content

Commit

Permalink
Replace allOf with anyOf
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Oct 23, 2024
1 parent 7a844e4 commit 36a98da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/v2/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ components:
metadata:
$ref: "#/components/schemas/EmbedCastMetadata"
EmbedCastMetadata:
$ref: "#/components/schemas/Cast"
$ref: "#/components/schemas/Cast"
Frame:
type: object
required:
Expand Down Expand Up @@ -1608,7 +1608,8 @@ components:
items:
$ref: "#/components/schemas/User"
channel:
$ref: "#/components/schemas/ChannelOrDehydratedChannel"
anyOf:
- $ref: "#/components/schemas/ChannelOrDehydratedChannel"
nullable: true
viewer_context:
$ref: "#/components/schemas/CastViewerContext"
Expand Down

0 comments on commit 36a98da

Please sign in to comment.