Skip to content

Commit 88fe8e5

Browse files
committed
swagger: updated API definition
Signed-off-by: George Pisaltu <[email protected]>
1 parent 37b69c2 commit 88fe8e5

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/api_server/swagger/firecracker.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -617,14 +617,14 @@ definitions:
617617
Balloon:
618618
type: object
619619
required:
620-
- amount_mb
620+
- amount_mib
621621
- deflate_on_oom
622622
description:
623623
Balloon device descriptor.
624624
properties:
625-
amount_mb:
625+
amount_mib:
626626
type: integer
627-
description: Target balloon size in MB.
627+
description: Target balloon size in MiB.
628628
deflate_on_oom:
629629
type: boolean
630630
description: Whether the balloon should deflate when the guest has memory pressure.
@@ -635,13 +635,13 @@ definitions:
635635
BalloonUpdate:
636636
type: object
637637
required:
638-
- amount_mb
638+
- amount_mib
639639
description:
640640
Balloon device descriptor.
641641
properties:
642-
amount_mb:
642+
amount_mib:
643643
type: integer
644-
description: Target balloon size in MB.
644+
description: Target balloon size in MiB.
645645

646646
BalloonStats:
647647
type: object
@@ -650,20 +650,20 @@ definitions:
650650
required:
651651
- target_pages
652652
- actual_pages
653-
- target_mb
654-
- actual_mb
653+
- target_mib
654+
- actual_mib
655655
properties:
656656
target_pages:
657657
description: Target number of pages the device aims to hold.
658658
type: integer
659659
actual_pages:
660660
description: Actual number of pages the device is holding.
661661
type: integer
662-
target_mb:
663-
description: Target amount of memory (in MB) the device aims to hold.
662+
target_mib:
663+
description: Target amount of memory (in MiB) the device aims to hold.
664664
type: integer
665-
actual_mb:
666-
description: Actual amount of memory (in MB) the device is holding.
665+
actual_mib:
666+
description: Actual amount of memory (in MiB) the device is holding.
667667
type: integer
668668
swap_in:
669669
description: The amount of memory that has been swapped in (in bytes).

0 commit comments

Comments
 (0)