mirror of
https://github.com/TeamPiped/OpenAPI.git
synced 2024-08-14 23:56:55 +00:00
fix: add mapping
This commit is contained in:
parent
21cef4768c
commit
5d916bbd2b
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue