From 9ccef76e89182c055ce12697256f689bec531130 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Mon, 5 Jun 2023 19:41:18 +0530 Subject: [PATCH] fix: types enum --- swagger.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/swagger.yaml b/swagger.yaml index bca90be..417dce9 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -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.