From 80c915d032229c4c29a9dc9e10e91d4663616ed0 Mon Sep 17 00:00:00 2001 From: Servarr Date: Wed, 31 May 2023 03:56:57 +0000 Subject: [PATCH] Automated API Docs update --- src/Lidarr.Api.V1/openapi.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/Lidarr.Api.V1/openapi.json b/src/Lidarr.Api.V1/openapi.json index 294eb0baa..fb6c79c87 100644 --- a/src/Lidarr.Api.V1/openapi.json +++ b/src/Lidarr.Api.V1/openapi.json @@ -3697,7 +3697,7 @@ "content": { "application/json": { "schema": { - "type": "string" + "$ref": "#/components/schemas/LocalizationResource" } } } @@ -10394,6 +10394,24 @@ }, "additionalProperties": false }, + "LocalizationResource": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int32" + }, + "strings": { + "type": "object", + "additionalProperties": { + "type": "string", + "nullable": true + }, + "nullable": true + } + }, + "additionalProperties": false + }, "LogFileResource": { "type": "object", "properties": {