From 2805c4f18b292abb04034808bc6e78effd8f23c5 Mon Sep 17 00:00:00 2001 From: Servarr Date: Tue, 8 Nov 2022 01:35:52 +0000 Subject: [PATCH] Automated API Docs update --- src/Prowlarr.Api.V1/openapi.json | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/Prowlarr.Api.V1/openapi.json b/src/Prowlarr.Api.V1/openapi.json index aadfde6f3..e6bdc2f83 100644 --- a/src/Prowlarr.Api.V1/openapi.json +++ b/src/Prowlarr.Api.V1/openapi.json @@ -27,6 +27,25 @@ } ], "paths": { + "/api": { + "get": { + "tags": [ + "ApiInfo" + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiInfoResource" + } + } + } + } + } + } + }, "/api/v1/applications/{id}": { "get": { "tags": [ @@ -4406,6 +4425,23 @@ }, "components": { "schemas": { + "ApiInfoResource": { + "type": "object", + "properties": { + "current": { + "type": "string", + "nullable": true + }, + "deprecated": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + } + }, + "additionalProperties": false + }, "AppProfileResource": { "type": "object", "properties": {