From d70d351ea2eca6d6c69e211f1c04c452ede8bfc1 Mon Sep 17 00:00:00 2001
From: Servarr <development@lidarr.audio>
Date: Wed, 23 Nov 2022 00:32:53 +0000
Subject: [PATCH] Automated API Docs update

---
 src/Radarr.Api.V3/openapi.json | 162 +++++----------------------------
 1 file changed, 23 insertions(+), 139 deletions(-)

diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json
index a28ff5fea..5718422d9 100644
--- a/src/Radarr.Api.V3/openapi.json
+++ b/src/Radarr.Api.V3/openapi.json
@@ -1994,20 +1994,10 @@
           "200": {
             "description": "Success",
             "content": {
-              "text/plain": {
-                "schema": {
-                  "$ref": "#/components/schemas/DownloadClientConfigResource"
-                }
-              },
               "application/json": {
                 "schema": {
                   "$ref": "#/components/schemas/DownloadClientConfigResource"
                 }
-              },
-              "text/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/DownloadClientConfigResource"
-                }
               }
             }
           }
@@ -2035,16 +2025,6 @@
               "schema": {
                 "$ref": "#/components/schemas/DownloadClientConfigResource"
               }
-            },
-            "text/json": {
-              "schema": {
-                "$ref": "#/components/schemas/DownloadClientConfigResource"
-              }
-            },
-            "application/*+json": {
-              "schema": {
-                "$ref": "#/components/schemas/DownloadClientConfigResource"
-              }
             }
           }
         },
@@ -3200,20 +3180,10 @@
           "200": {
             "description": "Success",
             "content": {
-              "text/plain": {
-                "schema": {
-                  "$ref": "#/components/schemas/ImportListConfigResource"
-                }
-              },
               "application/json": {
                 "schema": {
                   "$ref": "#/components/schemas/ImportListConfigResource"
                 }
-              },
-              "text/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/ImportListConfigResource"
-                }
               }
             }
           }
@@ -3241,16 +3211,6 @@
               "schema": {
                 "$ref": "#/components/schemas/ImportListConfigResource"
               }
-            },
-            "text/json": {
-              "schema": {
-                "$ref": "#/components/schemas/ImportListConfigResource"
-              }
-            },
-            "application/*+json": {
-              "schema": {
-                "$ref": "#/components/schemas/ImportListConfigResource"
-              }
             }
           }
         },
@@ -3708,20 +3668,10 @@
           "200": {
             "description": "Success",
             "content": {
-              "text/plain": {
-                "schema": {
-                  "$ref": "#/components/schemas/IndexerConfigResource"
-                }
-              },
               "application/json": {
                 "schema": {
                   "$ref": "#/components/schemas/IndexerConfigResource"
                 }
-              },
-              "text/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/IndexerConfigResource"
-                }
               }
             }
           }
@@ -3749,16 +3699,6 @@
               "schema": {
                 "$ref": "#/components/schemas/IndexerConfigResource"
               }
-            },
-            "text/json": {
-              "schema": {
-                "$ref": "#/components/schemas/IndexerConfigResource"
-              }
-            },
-            "application/*+json": {
-              "schema": {
-                "$ref": "#/components/schemas/IndexerConfigResource"
-              }
             }
           }
         },
@@ -4220,20 +4160,10 @@
           "200": {
             "description": "Success",
             "content": {
-              "text/plain": {
-                "schema": {
-                  "$ref": "#/components/schemas/MediaManagementConfigResource"
-                }
-              },
               "application/json": {
                 "schema": {
                   "$ref": "#/components/schemas/MediaManagementConfigResource"
                 }
-              },
-              "text/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/MediaManagementConfigResource"
-                }
               }
             }
           }
@@ -4261,16 +4191,6 @@
               "schema": {
                 "$ref": "#/components/schemas/MediaManagementConfigResource"
               }
-            },
-            "text/json": {
-              "schema": {
-                "$ref": "#/components/schemas/MediaManagementConfigResource"
-              }
-            },
-            "application/*+json": {
-              "schema": {
-                "$ref": "#/components/schemas/MediaManagementConfigResource"
-              }
             }
           }
         },
@@ -4668,20 +4588,10 @@
           "200": {
             "description": "Success",
             "content": {
-              "text/plain": {
-                "schema": {
-                  "$ref": "#/components/schemas/MetadataConfigResource"
-                }
-              },
               "application/json": {
                 "schema": {
                   "$ref": "#/components/schemas/MetadataConfigResource"
                 }
-              },
-              "text/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/MetadataConfigResource"
-                }
               }
             }
           }
@@ -4709,16 +4619,6 @@
               "schema": {
                 "$ref": "#/components/schemas/MetadataConfigResource"
               }
-            },
-            "text/json": {
-              "schema": {
-                "$ref": "#/components/schemas/MetadataConfigResource"
-              }
-            },
-            "application/*+json": {
-              "schema": {
-                "$ref": "#/components/schemas/MetadataConfigResource"
-              }
             }
           }
         },
@@ -8145,35 +8045,6 @@
         }
       }
     },
-    "/api/v3/config/ui": {
-      "get": {
-        "tags": [
-          "UiConfig"
-        ],
-        "responses": {
-          "200": {
-            "description": "Success",
-            "content": {
-              "text/plain": {
-                "schema": {
-                  "$ref": "#/components/schemas/UiConfigResource"
-                }
-              },
-              "application/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/UiConfigResource"
-                }
-              },
-              "text/json": {
-                "schema": {
-                  "$ref": "#/components/schemas/UiConfigResource"
-                }
-              }
-            }
-          }
-        }
-      }
-    },
     "/api/v3/config/ui/{id}": {
       "put": {
         "tags": [
@@ -8195,16 +8066,6 @@
               "schema": {
                 "$ref": "#/components/schemas/UiConfigResource"
               }
-            },
-            "text/json": {
-              "schema": {
-                "$ref": "#/components/schemas/UiConfigResource"
-              }
-            },
-            "application/*+json": {
-              "schema": {
-                "$ref": "#/components/schemas/UiConfigResource"
-              }
             }
           }
         },
@@ -8270,6 +8131,25 @@
         }
       }
     },
+    "/api/v3/config/ui": {
+      "get": {
+        "tags": [
+          "UiConfig"
+        ],
+        "responses": {
+          "200": {
+            "description": "Success",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/UiConfigResource"
+                }
+              }
+            }
+          }
+        }
+      }
+    },
     "/api/v3/update": {
       "get": {
         "tags": [
@@ -12552,6 +12432,10 @@
           "uiLanguage": {
             "type": "integer",
             "format": "int32"
+          },
+          "theme": {
+            "type": "string",
+            "nullable": true
           }
         },
         "additionalProperties": false