From 976b70ed32a0e774cc0b72b8332372be32799ed1 Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 18 Dec 2023 19:32:48 +0100 Subject: [PATCH] fix(api): enum schema description (#2803) --- api/schema.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/api/schema.yml b/api/schema.yml index 6cde3420f..3534846d4 100644 --- a/api/schema.yml +++ b/api/schema.yml @@ -5312,7 +5312,7 @@ components: readOnly: true import_status: allOf: - - $ref: "#/components/schemas/PlaylistContentKindEnum" + - $ref: "#/components/schemas/FileImportStatusEnum" minimum: -2147483648 maximum: 2147483647 filepath: @@ -5564,6 +5564,16 @@ components: - mime - name - size + FileImportStatusEnum: + enum: + - 0 + - 1 + - 2 + type: integer + description: |- + * `0` - Success + * `1` - Pending + * `2` - Failed ImportedPodcast: type: object properties: @@ -5714,7 +5724,7 @@ components: readOnly: true import_status: allOf: - - $ref: "#/components/schemas/PlaylistContentKindEnum" + - $ref: "#/components/schemas/FileImportStatusEnum" minimum: -2147483648 maximum: 2147483647 filepath: @@ -6857,9 +6867,9 @@ components: - 2 type: integer description: |- - * `0` - Success - * `1` - Pending - * `2` - Failed + * `0` - File + * `1` - Stream + * `2` - Block PlayoutHistory: type: object properties: