瀏覽代碼

Merge pull request #41432 from edigaryev/api-memtotal-is-bytes

swagger: fix MemTotal units in SystemInfo endpoint
Brian Goff 4 年之前
父節點
當前提交
c036d26f27
共有 10 個文件被更改,包括 10 次插入10 次删除
  1. 1 1
      api/swagger.yaml
  2. 1 1
      docs/api/v1.32.yaml
  3. 1 1
      docs/api/v1.33.yaml
  4. 1 1
      docs/api/v1.34.yaml
  5. 1 1
      docs/api/v1.35.yaml
  6. 1 1
      docs/api/v1.36.yaml
  7. 1 1
      docs/api/v1.37.yaml
  8. 1 1
      docs/api/v1.38.yaml
  9. 1 1
      docs/api/v1.39.yaml
  10. 1 1
      docs/api/v1.40.yaml

+ 1 - 1
api/swagger.yaml

@@ -4606,7 +4606,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.32.yaml

@@ -3599,7 +3599,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.33.yaml

@@ -3604,7 +3604,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.34.yaml

@@ -3633,7 +3633,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.35.yaml

@@ -3615,7 +3615,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.36.yaml

@@ -3628,7 +3628,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.37.yaml

@@ -3648,7 +3648,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.38.yaml

@@ -3702,7 +3702,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.39.yaml

@@ -4345,7 +4345,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240

+ 1 - 1
docs/api/v1.40.yaml

@@ -4467,7 +4467,7 @@ definitions:
         example: 4
         example: 4
       MemTotal:
       MemTotal:
         description: |
         description: |
-          Total amount of physical memory available on the host, in kilobytes (kB).
+          Total amount of physical memory available on the host, in bytes.
         type: "integer"
         type: "integer"
         format: "int64"
         format: "int64"
         example: 2095882240
         example: 2095882240