vmm: openapi: Fix integer schema formats

The current OpenAPI schema format is wrong because uint16 and uint32 are
not valid top-level OpenAPI types. Describe queue_size and virtio_id as
integer types with explicit uint formats instead.

Signed-off-by: Roman <roman@vanesyan.com>
This commit is contained in:
Roman
2026-05-26 14:57:25 +03:00
committed by Rob Bradford
parent f73eb3ef91
commit a1a84477cf

View File

@@ -1161,7 +1161,8 @@ components:
queue_size:
type: array
items:
type: uint16
type: integer
format: uint16
pci_segment:
type: integer
format: int16
@@ -1169,7 +1170,8 @@ components:
type: integer
format: uint8
virtio_id:
type: uint32
type: integer
format: uint32
PmemConfig:
required: