Skip to content

Commit 2278199

Browse files
committed
Update firecracker-v1.0.yaml to the correct version and content
Signed-off-by: Adrian Catangiu <[email protected]>
1 parent 266d85b commit 2278199

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

api/swagger/firecracker-v1.0.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
swagger: "2.0"
22
info:
3-
title: Firecracker MVP API
4-
description: "Firecraker MVP - RESTful public-facing API.
3+
title: Firecracker v1.0 API
4+
description: "Firecraker v1.0 - RESTful public-facing API.
55
66
77
The API is accessible through HTTP calls on specific URLs carrying JSON modeled data. The transport medium is a Unix Domain Socket."
88

9-
version: 0.1.0
9+
version: 1.0.0
1010
termsOfService: ""
1111
contact:
1212
@@ -962,6 +962,11 @@ definitions:
962962
- attached
963963
- detaching
964964
- detached
965+
DrivePermissions:
966+
type: string
967+
enum:
968+
- ro
969+
- rw
965970
Drive:
966971
type: object
967972
required:
@@ -974,6 +979,8 @@ definitions:
974979
description: host level path for the guest drive
975980
is_root_device:
976981
type: boolean
982+
permissions:
983+
$ref: "#/definitions/DrivePermissions"
977984
state:
978985
$ref: "#/definitions/DeviceState"
979986
NetworkInterface:

0 commit comments

Comments
 (0)