From 8ea6d59d591a8ed941de17bfe9b6a81da9da4b35 Mon Sep 17 00:00:00 2001 From: Servarr Date: Fri, 19 Apr 2024 05:07:40 +0000 Subject: [PATCH] Automated API Docs update --- src/Radarr.Api.V3/openapi.json | 260 +++++++-------------------------- 1 file changed, 50 insertions(+), 210 deletions(-) diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json index 0cf6060c6..2f91b3740 100644 --- a/src/Radarr.Api.V3/openapi.json +++ b/src/Radarr.Api.V3/openapi.json @@ -1802,14 +1802,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -1817,14 +1809,6 @@ "$ref": "#/components/schemas/DownloadClientResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } } } } @@ -2028,14 +2012,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -2043,14 +2019,6 @@ "$ref": "#/components/schemas/DownloadClientResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DownloadClientResource" - } - } } } } @@ -2062,22 +2030,22 @@ "tags": [ "DownloadClient" ], + "parameters": [ + { + "name": "forceTest", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DownloadClientResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/DownloadClientResource" - } } } }, @@ -3044,14 +3012,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -3059,14 +3019,6 @@ "$ref": "#/components/schemas/ImportListResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } } } } @@ -3270,14 +3222,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -3285,14 +3229,6 @@ "$ref": "#/components/schemas/ImportListResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImportListResource" - } - } } } } @@ -3304,22 +3240,22 @@ "tags": [ "ImportList" ], + "parameters": [ + { + "name": "forceTest", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ImportListResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/ImportListResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/ImportListResource" - } } } }, @@ -3563,14 +3499,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -3578,14 +3506,6 @@ "$ref": "#/components/schemas/IndexerResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } } } } @@ -3789,14 +3709,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -3804,14 +3716,6 @@ "$ref": "#/components/schemas/IndexerResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IndexerResource" - } - } } } } @@ -3823,22 +3727,22 @@ "tags": [ "Indexer" ], + "parameters": [ + { + "name": "forceTest", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IndexerResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/IndexerResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/IndexerResource" - } } } }, @@ -4504,14 +4408,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -4519,14 +4415,6 @@ "$ref": "#/components/schemas/MetadataResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } } } } @@ -4683,14 +4571,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -4698,14 +4578,6 @@ "$ref": "#/components/schemas/MetadataResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MetadataResource" - } - } } } } @@ -4717,22 +4589,22 @@ "tags": [ "Metadata" ], + "parameters": [ + { + "name": "forceTest", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MetadataResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/MetadataResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/MetadataResource" - } } } }, @@ -5771,14 +5643,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -5786,14 +5650,6 @@ "$ref": "#/components/schemas/NotificationResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } } } } @@ -5950,14 +5806,6 @@ "200": { "description": "Success", "content": { - "text/plain": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } - }, "application/json": { "schema": { "type": "array", @@ -5965,14 +5813,6 @@ "$ref": "#/components/schemas/NotificationResource" } } - }, - "text/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationResource" - } - } } } } @@ -5984,22 +5824,22 @@ "tags": [ "Notification" ], + "parameters": [ + { + "name": "forceTest", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + } + ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotificationResource" } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/NotificationResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/NotificationResource" - } } } },