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