From: Marcin Haba Date: Sun, 27 Jun 2021 18:30:26 +0000 (+0200) Subject: baculum: Fix component autochanger schemas in OpenAPI documentation X-Git-Tag: Release-11.3.2~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a4733ac191dc83924c8b3d9d68212316edb67d;p=thirdparty%2Fbacula.git baculum: Fix component autochanger schemas in OpenAPI documentation --- diff --git a/gui/baculum/protected/API/openapi_baculum.json b/gui/baculum/protected/API/openapi_baculum.json index 7b66e6867..b577fd34e 100644 --- a/gui/baculum/protected/API/openapi_baculum.json +++ b/gui/baculum/protected/API/openapi_baculum.json @@ -5,7 +5,7 @@ "description": "This is the Baculum API documentation.", "contact": { "name": "Marcin Haba", - "url": "https://www.bacula.org/9.6.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html", + "url": "https://www.bacula.org/11.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html", "email": "marcin.haba@bacula.pl" }, "license": { @@ -107,6 +107,12 @@ }, "OAuth2Client": { "$ref": "#/definitions/OAuth2Client" + }, + "AutochangerDriveVolume": { + "$ref": "#/definitions/AutochangerDriveVolume" + }, + "AutochangerSlotVolume": { + "$ref": "#/definitions/AutochangerSlotVolume" } }, "parameters": { @@ -4795,21 +4801,21 @@ "type": "array", "description": "Tape drive list", "items": { - "$ref": "#/components/parameters/AutochangerDriveVolume" + "$ref": "#/components/schemas/AutochangerDriveVolume" } }, "slots": { "type": "array", "description": "Regular slot list", "items": { - "$ref": "#/components/parameters/AutochangerSlotVolume" + "$ref": "#/components/schemas/AutochangerSlotVolume" } }, "ie_slots": { "type": "array", "description": "Import/export slot list", "items": { - "$ref": "#/components/parameters/AutochangerSlotVolume" + "$ref": "#/components/schemas/AutochangerSlotVolume" } } }