Add last item to swagger doc

This commit is contained in:
Joshua Boniface 2023-02-22 00:25:27 -05:00
parent d00b8aa6cd
commit 96defebd0b
2 changed files with 14 additions and 0 deletions

View File

@ -635,6 +635,12 @@ class API_Node_Root(Resource):
type: integer type: integer
description: The overall health (%) of the node description: The overall health (%) of the node
example: 100 example: 100
health_plugins:
type: array
description: A list of health plugin names currently loaded on the node
items:
type: string
example: "nics"
health_details: health_details:
type: array type: array
description: A list of health plugin results description: A list of health plugin results

View File

@ -527,6 +527,14 @@
}, },
"type": "array" "type": "array"
}, },
"health_plugins": {
"description": "A list of health plugin names currently loaded on the node",
"items": {
"example": "nics",
"type": "string"
},
"type": "array"
},
"kernel": { "kernel": {
"desription": "The running kernel version from uname", "desription": "The running kernel version from uname",
"type": "string" "type": "string"