From 205b8c1cd58989f14ba908e1d121e2e2aabf6aae Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Tue, 15 Oct 2019 05:28:47 +0000 Subject: [PATCH] api: http: make consistent api and implementation vsocks: vsocks is implemented as an array Signed-off-by: Jose Carlos Venegas Munoz --- vmm/src/api/openapi/cloud-hypervisor.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index f985e2073..92c07c574 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -214,7 +214,9 @@ components: items: $ref: '#/components/schemas/VhostUserBlkConfig' vsock: - $ref: '#/components/schemas/VsockConfig' + type: array + items: + $ref: '#/components/schemas/VsockConfig' iommu: type: boolean default: false