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-nullable": false,
"x-omitempty": false "x-omitempty": false
}, },
"total": {
"description": "Total amount of RAM on this system",
"type": "number",
"x-nullable": false,
"x-omitempty": false
},
"used": { "used": {
"description": "RAM used by programs\n\nThis value is computed from the kernel specific values.", "description": "RAM used by programs\n\nThis value is computed from the kernel specific values.",
"type": "integer", "type": "integer",
"x-nullable": false, "x-nullable": false,
"x-omitempty": 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, "x-nullable": false,

View File

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