From 488a7d183e01f2fe5eb6d00f66a4efe6993a2c07 Mon Sep 17 00:00:00 2001 From: Servarr Date: Sun, 13 Nov 2022 02:02:34 +0000 Subject: [PATCH] Automated API Docs update --- src/Radarr.Api.V3/openapi.json | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/Radarr.Api.V3/openapi.json b/src/Radarr.Api.V3/openapi.json index 93798d1bb..a28ff5fea 100644 --- a/src/Radarr.Api.V3/openapi.json +++ b/src/Radarr.Api.V3/openapi.json @@ -123,6 +123,25 @@ } } }, + "/api": { + "get": { + "tags": [ + "ApiInfo" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiInfoResource" + } + } + } + } + } + } + }, "/login": { "post": { "tags": [ @@ -8462,6 +8481,23 @@ }, "additionalProperties": false }, + "ApiInfoResource": { + "type": "object", + "properties": { + "current": { + "type": "string", + "nullable": true + }, + "deprecated": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, "ApplyTags": { "enum": [ "add",