From 01a53d362425d3b41977b20c960160112b8e37ea Mon Sep 17 00:00:00 2001 From: Servarr Date: Mon, 2 Dec 2024 13:53:27 +0000 Subject: [PATCH] Automated API Docs update --- src/Radarr.Api.V3/openapi.json | 78 +++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 29 deletions(-) diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json index 163432767..4c29ccb06 100644 --- a/src/Radarr.Api.V3/openapi.json +++ b/src/Radarr.Api.V3/openapi.json @@ -5365,28 +5365,22 @@ "$ref": "#/components/schemas/MovieResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MovieResource" - } - } - }, - "application/*+json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MovieResource" - } - } } } }, "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MovieResource" + } + } + } + } } } } @@ -5408,7 +5402,14 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MovieResource" + } + } + } } } } @@ -5429,7 +5430,14 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MovieResource" + } + } + } } } } @@ -5450,7 +5458,17 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/MovieResource" + } + } + } + } } } } @@ -11669,15 +11687,6 @@ "type": "string", "nullable": true }, - "sizeleft": { - "type": "number", - "format": "double" - }, - "timeleft": { - "type": "string", - "format": "date-span", - "nullable": true - }, "estimatedCompletionTime": { "type": "string", "format": "date-time", @@ -11729,6 +11738,17 @@ "outputPath": { "type": "string", "nullable": true + }, + "sizeleft": { + "type": "number", + "format": "double", + "deprecated": true + }, + "timeleft": { + "type": "string", + "format": "date-span", + "nullable": true, + "deprecated": true } }, "additionalProperties": false