updated docs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-06 16:01:01 +11:00
parent 0e3cf5aae9
commit 9677d083a8
6 changed files with 96 additions and 55 deletions

View File

@@ -174,6 +174,12 @@
"$ref": "#/definitions/models.StatusMessageResponse"
}
},
"400": {
"description": "Invalid request",
"schema": {
"$ref": "#/definitions/models.ErrorResponse"
}
},
"500": {
"description": "Server error",
"schema": {
@@ -190,7 +196,7 @@
"application/json"
],
"produces": [
"text/plain"
"application/json"
],
"tags": [
"events"
@@ -212,19 +218,19 @@
"200": {
"description": "Create event processed",
"schema": {
"type": "string"
"$ref": "#/definitions/models.StatusMessageResponse"
}
},
"400": {
"description": "Invalid request",
"schema": {
"type": "string"
"$ref": "#/definitions/models.ErrorResponse"
}
},
"500": {
"description": "Server error",
"schema": {
"type": "string"
"$ref": "#/definitions/models.ErrorResponse"
}
}
}
@@ -237,7 +243,7 @@
"application/json"
],
"produces": [
"text/plain"
"application/json"
],
"tags": [
"events"
@@ -259,19 +265,19 @@
"200": {
"description": "Delete event processed",
"schema": {
"type": "string"
"$ref": "#/definitions/models.StatusMessageResponse"
}
},
"400": {
"description": "Invalid request",
"schema": {
"type": "string"
"$ref": "#/definitions/models.ErrorResponse"
}
},
"500": {
"description": "Server error",
"schema": {
"type": "string"
"$ref": "#/definitions/models.ErrorResponse"
}
}
}
@@ -457,7 +463,7 @@
"post": {
"description": "Queries vCenter and updates inventory records with missing details.",
"produces": [
"text/plain"
"application/json"
],
"tags": [
"inventory"
@@ -467,13 +473,13 @@
"200": {
"description": "Update completed",
"schema": {
"type": "string"
"$ref": "#/definitions/models.StatusMessageResponse"
}
},
"500": {
"description": "Server error",
"schema": {
"type": "string"
"$ref": "#/definitions/models.ErrorResponse"
}
}
}