Skip to content

Commit 00d8eee

Browse files
author
Noah Meyerhans
committed
Update swagger.yaml for firecracker 0.12.0
vsock definitions are preserved. Signed-off-by: Noah Meyerhans <[email protected]>
1 parent 840c1e3 commit 00d8eee

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

client/swagger.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ info:
44
description: RESTful public-facing API.
55
The API is accessible through HTTP calls on specific URLs carrying JSON modeled data.
66
The transport medium is a Unix Domain Socket.
7-
version: 0.10.1
7+
version: 0.12.0
88
termsOfService: ""
99
contact:
1010
@@ -257,10 +257,8 @@ paths:
257257
schema:
258258
type: object
259259
responses:
260-
201:
261-
description: MMDS data store created
262260
204:
263-
description: MMDS data store updated.
261+
description: MMDS data store created/updated.
264262
400:
265263
description: MMDS data store cannot be created due to bad input.
266264
schema:
@@ -359,14 +357,6 @@ definitions:
359357
- C3
360358
- T2
361359

362-
DeviceState:
363-
type: string
364-
description:
365-
The valid states for a Device. So far, a device can only be in the Attached mode.
366-
Future valid values will be Detaching and Detached.
367-
enum:
368-
- Attached
369-
370360
Drive:
371361
type: object
372362
required:
@@ -452,6 +442,11 @@ definitions:
452442
show_log_origin:
453443
type: boolean
454444
description: Whether or not to include the file path and line number of the log's origin.
445+
options:
446+
type: array
447+
items:
448+
type: string
449+
description: Additional logging options. Only "LogDirtyPages" is supported.
455450

456451
MachineConfiguration:
457452
type: object
@@ -497,8 +492,6 @@ definitions:
497492
$ref: "#/definitions/RateLimiter"
498493
tx_rate_limiter:
499494
$ref: "#/definitions/RateLimiter"
500-
state:
501-
$ref: "#/definitions/DeviceState"
502495

503496
PartialDrive:
504497
type: object

0 commit comments

Comments
 (0)