mirror of
https://github.com/TeamPiped/OpenAPI.git
synced 2024-08-14 23:56:55 +00:00
fix: remove unwanted
This commit is contained in:
parent
899dc5fa6b
commit
21cef4768c
1 changed files with 3 additions and 13 deletions
16
swagger.yaml
16
swagger.yaml
|
@ -685,8 +685,7 @@ components:
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
description: The type of the stream item. Always stream.
|
description: The type of the stream item. Always stream.
|
||||||
enum:
|
example: stream
|
||||||
- stream
|
|
||||||
duration:
|
duration:
|
||||||
type: integer
|
type: integer
|
||||||
description: The duration of the video in seconds.
|
description: The duration of the video in seconds.
|
||||||
|
@ -830,8 +829,7 @@ components:
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
description: The type of the channel item. Always channel.
|
description: The type of the channel item. Always channel.
|
||||||
enum:
|
example: channel
|
||||||
- channel
|
|
||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
description: The description of the channel.
|
description: The description of the channel.
|
||||||
|
@ -859,8 +857,7 @@ components:
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
description: The type of the playlist item. Always playlist.
|
description: The type of the playlist item. Always playlist.
|
||||||
enum:
|
example: playlist
|
||||||
- playlist
|
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: The name of the playlist.
|
description: The name of the playlist.
|
||||||
|
@ -877,13 +874,6 @@ components:
|
||||||
type: object
|
type: object
|
||||||
discriminator:
|
discriminator:
|
||||||
propertyName: type
|
propertyName: type
|
||||||
properties:
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- stream
|
|
||||||
- channel
|
|
||||||
- playlist
|
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/StreamItem"
|
- $ref: "#/components/schemas/StreamItem"
|
||||||
- $ref: "#/components/schemas/ChannelItem"
|
- $ref: "#/components/schemas/ChannelItem"
|
||||||
|
|
Loading…
Reference in a new issue