From 12413a2a9ae2867a1e32b261d39eb2d65b27198e Mon Sep 17 00:00:00 2001 From: Servarr Date: Tue, 18 Oct 2022 00:00:44 +0000 Subject: [PATCH] Automated API Docs update --- src/Lidarr.Api.V1/openapi.json | 52 ++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/src/Lidarr.Api.V1/openapi.json b/src/Lidarr.Api.V1/openapi.json index 791985233..fb099fb06 100644 --- a/src/Lidarr.Api.V1/openapi.json +++ b/src/Lidarr.Api.V1/openapi.json @@ -8218,7 +8218,7 @@ } }, "/api/v1/config/ui/{id}": { - "get": { + "put": { "tags": [ "UiConfig" ], @@ -8228,11 +8228,29 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int32" + "type": "string" } } ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UiConfigResource" + } + }, + "text/json": { + "schema": { + "$ref": "#/components/schemas/UiConfigResource" + } + }, + "application/*+json": { + "schema": { + "$ref": "#/components/schemas/UiConfigResource" + } + } + } + }, "responses": { "200": { "description": "Success", @@ -8256,7 +8274,7 @@ } } }, - "put": { + "get": { "tags": [ "UiConfig" ], @@ -8266,29 +8284,11 @@ "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer", + "format": "int32" } } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/components/schemas/UiConfigResource" - } - } - } - }, "responses": { "200": { "description": "Success", @@ -13191,6 +13191,10 @@ }, "expandOtherByDefault": { "type": "boolean" + }, + "theme": { + "type": "string", + "nullable": true } }, "additionalProperties": false