mirror of
https://github.com/TeamPiped/OpenAPI.git
synced 2024-08-14 23:56:55 +00:00
Use oneOf instead.
This commit is contained in:
parent
bc7ff1f77b
commit
b640280fd6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue