diff --git a/docs.sh b/docs.sh index a0f21c41a..386f5df68 100755 --- a/docs.sh +++ b/docs.sh @@ -25,17 +25,23 @@ slnFile=src/Sonarr.sln platform=Posix +if [ "$PLATFORM" = "Windows" ]; then + application=Sonarr.Console.dll +else + application=Sonarr.dll +fi + dotnet clean $slnFile -c Debug dotnet clean $slnFile -c Release dotnet msbuild -restore $slnFile -p:Configuration=Debug -p:Platform=$platform -p:RuntimeIdentifiers=$RUNTIME -t:PublishAllRids dotnet new tool-manifest -dotnet tool install --version 6.5.0 Swashbuckle.AspNetCore.Cli +dotnet tool install --version 6.6.2 Swashbuckle.AspNetCore.Cli -dotnet tool run swagger tofile --output ./src/Sonarr.Api.V3/openapi.json "$outputFolder/$FRAMEWORK/$RUNTIME/Sonarr.dll" v3 & +dotnet tool run swagger tofile --output ./src/Sonarr.Api.V3/openapi.json "$outputFolder/$FRAMEWORK/$RUNTIME/$application" v3 & -sleep 30 +sleep 45 kill %1 diff --git a/src/NzbDrone.Host/Sonarr.Host.csproj b/src/NzbDrone.Host/Sonarr.Host.csproj index 0ccf5c4a2..7eb3a4058 100644 --- a/src/NzbDrone.Host/Sonarr.Host.csproj +++ b/src/NzbDrone.Host/Sonarr.Host.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs b/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs index 551d9bb69..9a0ff01fa 100644 --- a/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs +++ b/src/Sonarr.Api.V3/Episodes/EpisodeResource.cs @@ -7,6 +7,7 @@ using NzbDrone.Core.Tv; using Sonarr.Api.V3.EpisodeFiles; using Sonarr.Api.V3.Series; using Sonarr.Http.REST; +using Swashbuckle.AspNetCore.Annotations; namespace Sonarr.Api.V3.Episodes { @@ -40,6 +41,7 @@ namespace Sonarr.Api.V3.Episodes // Hiding this so people don't think its usable (only used to set the initial state) [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)] + [SwaggerIgnore] public bool Grabbed { get; set; } } diff --git a/src/Sonarr.Api.V3/Sonarr.Api.V3.csproj b/src/Sonarr.Api.V3/Sonarr.Api.V3.csproj index 332f902ee..659783773 100644 --- a/src/Sonarr.Api.V3/Sonarr.Api.V3.csproj +++ b/src/Sonarr.Api.V3/Sonarr.Api.V3.csproj @@ -6,6 +6,7 @@ + diff --git a/src/Sonarr.Api.V3/openapi.json b/src/Sonarr.Api.V3/openapi.json index ff1d2403b..251cdae2f 100644 --- a/src/Sonarr.Api.V3/openapi.json +++ b/src/Sonarr.Api.V3/openapi.json @@ -34,7 +34,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -86,7 +86,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -96,7 +96,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -108,7 +108,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -129,7 +129,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -156,7 +156,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -197,7 +197,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -235,7 +235,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -256,7 +256,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -275,7 +275,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -287,7 +287,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -336,7 +336,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -359,7 +359,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -371,7 +371,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -438,7 +438,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -468,7 +468,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -499,7 +499,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -569,7 +569,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -602,7 +602,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -673,7 +673,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -694,7 +694,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -711,7 +711,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -744,7 +744,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -765,7 +765,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -784,7 +784,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -813,7 +813,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -861,7 +861,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -899,7 +899,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -920,7 +920,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -948,7 +948,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -975,7 +975,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1016,7 +1016,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -1054,7 +1054,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -1075,7 +1075,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1094,7 +1094,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -1172,7 +1172,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1202,7 +1202,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1230,7 +1230,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -1257,7 +1257,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1290,7 +1290,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -1319,7 +1319,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -1357,7 +1357,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1395,7 +1395,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -1433,7 +1433,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1455,7 +1455,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1494,7 +1494,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1540,7 +1540,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1568,7 +1568,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -1589,7 +1589,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1617,7 +1617,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1643,7 +1643,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -1655,7 +1655,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1696,7 +1696,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -1708,7 +1708,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -1739,7 +1739,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -1751,7 +1751,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1789,7 +1789,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -1827,7 +1827,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1891,7 +1891,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -1933,7 +1933,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -1971,7 +1971,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2009,7 +2009,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2042,7 +2042,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2083,7 +2083,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -2121,7 +2121,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -2142,7 +2142,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2170,7 +2170,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2191,7 +2191,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -2213,7 +2213,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2250,7 +2250,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2271,7 +2271,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2292,7 +2292,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2304,7 +2304,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2433,7 +2433,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2485,7 +2485,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2548,7 +2548,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2581,7 +2581,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2593,7 +2593,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -2651,7 +2651,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -2689,7 +2689,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2708,7 +2708,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2747,7 +2747,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2793,7 +2793,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2821,7 +2821,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -2842,7 +2842,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2870,7 +2870,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2896,7 +2896,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2908,7 +2908,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -2949,7 +2949,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2961,7 +2961,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -2992,7 +2992,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -3004,7 +3004,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3042,7 +3042,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -3080,7 +3080,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3099,7 +3099,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3129,7 +3129,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -3192,7 +3192,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3230,7 +3230,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -3268,7 +3268,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -3289,7 +3289,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3308,7 +3308,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3347,7 +3347,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3393,7 +3393,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3421,7 +3421,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -3442,7 +3442,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3470,7 +3470,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3496,7 +3496,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -3508,7 +3508,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3549,7 +3549,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -3561,7 +3561,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -3592,7 +3592,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -3604,7 +3604,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3642,7 +3642,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -3680,7 +3680,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3699,7 +3699,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -3737,7 +3737,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -3786,7 +3786,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3814,7 +3814,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3832,7 +3832,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3866,7 +3866,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } }, "deprecated": true @@ -3896,7 +3896,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3925,7 +3925,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3944,7 +3944,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3964,7 +3964,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -3983,7 +3983,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4013,7 +4013,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4073,7 +4073,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4092,7 +4092,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4125,7 +4125,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4177,7 +4177,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4209,7 +4209,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4241,7 +4241,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4253,7 +4253,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4291,7 +4291,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -4329,7 +4329,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4348,7 +4348,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4387,7 +4387,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4433,7 +4433,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4461,7 +4461,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -4482,7 +4482,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4501,7 +4501,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4542,7 +4542,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4554,7 +4554,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4585,7 +4585,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4655,7 +4655,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4685,7 +4685,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4704,7 +4704,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -4762,7 +4762,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -4800,7 +4800,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4908,7 +4908,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -4920,7 +4920,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -4959,7 +4959,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5005,7 +5005,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5033,7 +5033,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -5054,7 +5054,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5073,7 +5073,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5114,7 +5114,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5126,7 +5126,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5157,7 +5157,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5185,7 +5185,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5204,7 +5204,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5221,7 +5221,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5269,7 +5269,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -5307,7 +5307,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5326,7 +5326,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -5392,7 +5392,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5413,7 +5413,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -5440,7 +5440,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5473,7 +5473,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -5502,7 +5502,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -5540,7 +5540,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5559,7 +5559,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -5631,7 +5631,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5696,7 +5696,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5803,7 +5803,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5833,7 +5833,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5854,7 +5854,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -5903,7 +5903,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5925,7 +5925,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -5953,7 +5953,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -5989,7 +5989,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6030,7 +6030,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6057,7 +6057,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6106,7 +6106,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -6145,7 +6145,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6183,7 +6183,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6211,7 +6211,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6258,7 +6258,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6285,7 +6285,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6318,7 +6318,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -6357,7 +6357,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6395,7 +6395,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6432,7 +6432,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6463,7 +6463,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6490,7 +6490,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6523,7 +6523,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -6544,7 +6544,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6572,7 +6572,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6602,7 +6602,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6631,7 +6631,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6679,7 +6679,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6723,7 +6723,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -6777,7 +6777,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6808,7 +6808,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -6837,7 +6837,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6877,7 +6877,7 @@ }, "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6898,7 +6898,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6921,7 +6921,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6943,7 +6943,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6966,7 +6966,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -6978,7 +6978,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -6997,7 +6997,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -7009,7 +7009,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -7021,7 +7021,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -7033,7 +7033,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -7045,7 +7045,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7074,7 +7074,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -7122,7 +7122,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -7160,7 +7160,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } }, @@ -7181,7 +7181,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7200,7 +7200,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7233,7 +7233,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7252,7 +7252,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -7301,7 +7301,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7339,7 +7339,7 @@ }, "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "text/plain": { "schema": { @@ -7377,7 +7377,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7396,7 +7396,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7415,7 +7415,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7437,7 +7437,7 @@ ], "responses": { "200": { - "description": "Success", + "description": "OK", "content": { "application/json": { "schema": { @@ -7470,7 +7470,7 @@ ], "responses": { "200": { - "description": "Success" + "description": "OK" } } } @@ -7880,7 +7880,9 @@ "nullable": true }, "duration": { - "$ref": "#/components/schemas/TimeSpan" + "type": "string", + "format": "date-span", + "nullable": true }, "exception": { "type": "string", @@ -8494,9 +8496,6 @@ "$ref": "#/components/schemas/MediaCover" }, "nullable": true - }, - "grabbed": { - "type": "boolean" } }, "additionalProperties": false @@ -9148,7 +9147,8 @@ "format": "int32" }, "minRefreshInterval": { - "$ref": "#/components/schemas/TimeSpan" + "type": "string", + "format": "date-span" } }, "additionalProperties": false @@ -10658,7 +10658,9 @@ "format": "double" }, "timeleft": { - "$ref": "#/components/schemas/TimeSpan" + "type": "string", + "format": "date-span", + "nullable": true }, "estimatedCompletionTime": { "type": "string", @@ -11823,7 +11825,8 @@ "$ref": "#/components/schemas/AuthenticationType" }, "sqliteVersion": { - "$ref": "#/components/schemas/Version" + "type": "string", + "nullable": true }, "migrationVersion": { "type": "integer", @@ -11834,7 +11837,8 @@ "nullable": true }, "runtimeVersion": { - "$ref": "#/components/schemas/Version" + "type": "string", + "nullable": true }, "runtimeName": { "type": "string", @@ -11860,7 +11864,8 @@ "nullable": true }, "databaseVersion": { - "$ref": "#/components/schemas/Version" + "type": "string", + "nullable": true }, "databaseType": { "$ref": "#/components/schemas/DatabaseType" @@ -11992,66 +11997,8 @@ "format": "date-time" }, "lastDuration": { - "$ref": "#/components/schemas/TimeSpan" - } - }, - "additionalProperties": false - }, - "TimeSpan": { - "type": "object", - "properties": { - "ticks": { - "type": "integer", - "format": "int64" - }, - "days": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "hours": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "milliseconds": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "minutes": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "seconds": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "totalDays": { - "type": "number", - "format": "double", - "readOnly": true - }, - "totalHours": { - "type": "number", - "format": "double", - "readOnly": true - }, - "totalMilliseconds": { - "type": "number", - "format": "double", - "readOnly": true - }, - "totalMinutes": { - "type": "number", - "format": "double", - "readOnly": true - }, - "totalSeconds": { - "type": "number", - "format": "double", + "type": "string", + "format": "date-span", "readOnly": true } }, @@ -12194,7 +12141,8 @@ "format": "int32" }, "version": { - "$ref": "#/components/schemas/Version" + "type": "string", + "nullable": true }, "branch": { "type": "string", @@ -12235,42 +12183,6 @@ } }, "additionalProperties": false - }, - "Version": { - "type": "object", - "properties": { - "major": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "minor": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "build": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "revision": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "majorRevision": { - "type": "integer", - "format": "int32", - "readOnly": true - }, - "minorRevision": { - "type": "integer", - "format": "int32", - "readOnly": true - } - }, - "additionalProperties": false } }, "securitySchemes": {