Use oneOf instead.
This commit is contained in:
parent
bc7ff1f77b
commit
b640280fd6
|
@ -787,7 +787,7 @@ components:
|
||||||
description: The number of videos in the playlist.
|
description: The number of videos in the playlist.
|
||||||
SearchItem:
|
SearchItem:
|
||||||
type: object
|
type: object
|
||||||
anyOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StreamItem"
|
- $ref: "#/components/schemas/StreamItem"
|
||||||
- $ref: "#/components/schemas/ChannelItem"
|
- $ref: "#/components/schemas/ChannelItem"
|
||||||
- $ref: "#/components/schemas/PlaylistItem"
|
- $ref: "#/components/schemas/PlaylistItem"
|
||||||
|
|
Loading…
Reference in New Issue