fix(types): add placeholder field in VirtualMemoryStat for swagger

This commit is contained in:
yusing
2025-10-26 16:04:28 +08:00
parent f76d86dfa2
commit e4996733fc
3 changed files with 22 additions and 1 deletions

View File

@@ -5166,11 +5166,23 @@
"x-nullable": false,
"x-omitempty": false
},
"total": {
"description": "Total amount of RAM on this system",
"type": "number",
"x-nullable": false,
"x-omitempty": false
},
"used": {
"description": "RAM used by programs\n\nThis value is computed from the kernel specific values.",
"type": "integer",
"x-nullable": false,
"x-omitempty": false
},
"used_percent": {
"description": "Percentage of RAM used by programs\n\nThis value is computed from the kernel specific values.",
"type": "number",
"x-nullable": false,
"x-omitempty": false
}
},
"x-nullable": false,

View File

@@ -1398,12 +1398,21 @@ definitions:
This value is computed from the kernel specific values.
type: integer
total:
description: Total amount of RAM on this system
type: number
used:
description: |-
RAM used by programs
This value is computed from the kernel specific values.
type: integer
used_percent:
description: |-
Percentage of RAM used by programs
This value is computed from the kernel specific values.
type: number
type: object
net.IOCountersStat:
properties: