Skip to content

Commit

Permalink
fix: fix inconsistencies in jsonrpc-discover.json
Browse files Browse the repository at this point in the history
  • Loading branch information
edubart committed Jan 24, 2025
1 parent 4cad755 commit a5b61c7
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions src/jsonrpc-discover.json
Original file line number Diff line number Diff line change
Expand Up @@ -1389,13 +1389,17 @@
"$ref": "#/components/schemas/VirtIOHostfwd"
}
},
"VirtIODeviceType": {
"title": "VirtIODeviceType",
"enum": ["console", "p9fs", "net-user", "net-tuntap"]
},
"VirtIODeviceConfig": {
"title": "VirtIODeviceConfig",
"type": "object",
"required": ["type"],
"properties": {
"type": {
"type": "string"
"$ref": "#/components/schemas/VirtIODeviceType"
},
"tag": {
"type": "string"
Expand Down Expand Up @@ -1660,7 +1664,8 @@
"virtio": {
"$ref": "#/components/schemas/VirtIOConfigs"
}
}
},
"required": ["ram"]
},
"InterpreterBreakReason": {
"title": "InterpreterBreakReason",
Expand All @@ -1685,6 +1690,7 @@
"Base64Hash": {
"title": "Base64Hash",
"type": "string",
"description": "32-byte hash encoded in base64",
"contentEncoding": "base64",
"minLength": 45,
"maxLength": 45
Expand Down Expand Up @@ -1776,13 +1782,13 @@
"$ref": "#/components/schemas/UnsignedInteger"
},
"read_hash": {
"$ref": "#/components/schemas/Base64String"
"$ref": "#/components/schemas/Base64Hash"
},
"read": {
"$ref": "#/components/schemas/Base64String"
},
"written_hash": {
"$ref": "#/components/schemas/Base64String"
"$ref": "#/components/schemas/Base64Hash"
},
"written": {
"$ref": "#/components/schemas/Base64String"
Expand Down Expand Up @@ -1932,13 +1938,24 @@
"scounteren",
"senvcfg",
"ilrsc",
"iflags",
"iprv",
"iflags_X",
"iflags_Y",
"iflags_H",
"iunrep",
"clint_mtimecmp",
"plic_girqpend",
"plic_girqsrvd",
"htif_tohost",
"htif_tohost_dev",
"htif_tohost_cmd",
"htif_tohost_reason",
"htif_tohost_data",
"htif_fromhost",
"htif_fromhost_dev",
"htif_fromhost_cmd",
"htif_fromhost_reason",
"htif_fromhost_data",
"htif_ihalt",
"htif_iconsole",
"htif_iyield",
Expand Down Expand Up @@ -1976,19 +1993,7 @@
"uarch_x31",
"uarch_pc",
"uarch_cycle",
"uarch_halt_flag",
"iflags_prv",
"iflags_x",
"iflags_y",
"iflags_h",
"htif_tohost_dev",
"htif_tohost_cmd",
"htif_tohost_reason",
"htif_tohost_data",
"htif_fromhost_dev",
"htif_fromhost_cmd",
"htif_fromhost_reason",
"htif_fromhost_data"
"uarch_halt_flag"
]
},
"MemoryRangeDescription": {
Expand Down

0 comments on commit a5b61c7

Please sign in to comment.