mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:38:50 +02:00
fix(types): add placeholder field in VirtualMemoryStat for swagger
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Submodule internal/gopsutil updated: 74d6b1b42f...0500b55d1a
Reference in New Issue
Block a user