fix: add mapping
This commit is contained in:
parent
21cef4768c
commit
5d916bbd2b
|
@ -874,6 +874,10 @@ components:
|
||||||
type: object
|
type: object
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
|
mapping:
|
||||||
|
stream: "#/components/schemas/StreamItem"
|
||||||
|
channel: "#/components/schemas/ChannelItem"
|
||||||
|
playlist: "#/components/schemas/PlaylistItem"
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StreamItem"
|
- $ref: "#/components/schemas/StreamItem"
|
||||||
- $ref: "#/components/schemas/ChannelItem"
|
- $ref: "#/components/schemas/ChannelItem"
|
||||||
|
|
Loading…
Reference in New Issue