diff --git a/swagger.yaml b/swagger.yaml index 7fda000..b75a398 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -685,8 +685,7 @@ components: type: type: string description: The type of the stream item. Always stream. - enum: - - stream + example: stream duration: type: integer description: The duration of the video in seconds. @@ -830,8 +829,7 @@ components: type: type: string description: The type of the channel item. Always channel. - enum: - - channel + example: channel description: type: string description: The description of the channel. @@ -859,8 +857,7 @@ components: type: type: string description: The type of the playlist item. Always playlist. - enum: - - playlist + example: playlist name: type: string description: The name of the playlist. @@ -877,13 +874,6 @@ components: type: object discriminator: propertyName: type - properties: - type: - type: string - enum: - - stream - - channel - - playlist oneOf: - $ref: "#/components/schemas/StreamItem" - $ref: "#/components/schemas/ChannelItem"