This commit is contained in:
@@ -185,6 +185,12 @@ const docTemplate = `{
|
||||
"$ref": "#/definitions/models.StatusMessageResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Invalid request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/models.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Server error",
|
||||
"schema": {
|
||||
@@ -201,7 +207,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"text/plain"
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"events"
|
||||
@@ -223,19 +229,19 @@ const docTemplate = `{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -248,7 +254,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"text/plain"
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"events"
|
||||
@@ -270,19 +276,19 @@ const docTemplate = `{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -468,7 +474,7 @@ const docTemplate = `{
|
||||
"post": {
|
||||
"description": "Queries vCenter and updates inventory records with missing details.",
|
||||
"produces": [
|
||||
"text/plain"
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"inventory"
|
||||
@@ -478,13 +484,13 @@ const docTemplate = `{
|
||||
"200": {
|
||||
"description": "Update completed",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/models.StatusMessageResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Server error",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/models.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user