fix: types enum

This commit is contained in:
Prateek Sunal 2023-06-05 19:41:18 +05:30 committed by GitHub
parent 92d1a99f76
commit 9ccef76e89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -685,7 +685,8 @@ components:
type:
type: string
description: The type of the stream item. Always stream.
const: stream
enum:
- stream
duration:
type: integer
description: The duration of the video in seconds.
@ -829,7 +830,8 @@ components:
type:
type: string
description: The type of the channel item. Always channel.
const: channel
enum:
- channel
description:
type: string
description: The description of the channel.
@ -857,7 +859,8 @@ components:
type:
type: string
description: The type of the playlist item. Always playlist.
const: playlist
enum:
- playlist
name:
type: string
description: The name of the playlist.