Use oneOf instead.

This commit is contained in:
Kavin 2022-07-21 09:52:43 +05:30
parent bc7ff1f77b
commit b640280fd6
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 1 additions and 1 deletions

View File

@ -787,7 +787,7 @@ components:
description: The number of videos in the playlist.
SearchItem:
type: object
anyOf:
oneOf:
- $ref: "#/components/schemas/StreamItem"
- $ref: "#/components/schemas/ChannelItem"
- $ref: "#/components/schemas/PlaylistItem"