]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix component autochanger schemas in OpenAPI documentation
authorMarcin Haba <marcin.haba@bacula.pl>
Sun, 27 Jun 2021 18:30:26 +0000 (20:30 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:25 +0000 (09:03 +0100)
gui/baculum/protected/API/openapi_baculum.json

index 7b66e68679e5a08122136298e40bac34fe363701..b577fd34ec83eaf4f44ee9f8d7d0c9d46769251f 100644 (file)
@@ -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": {
                        },
                        "OAuth2Client": {
                                "$ref": "#/definitions/OAuth2Client"
+                       },
+                       "AutochangerDriveVolume": {
+                               "$ref": "#/definitions/AutochangerDriveVolume"
+                       },
+                       "AutochangerSlotVolume": {
+                               "$ref": "#/definitions/AutochangerSlotVolume"
                        }
                },
                "parameters": {
                                                                                                        "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"
                                                                                                        }
                                                                                                }
                                                                                        }