openapi: make context ID vsock int64

context ID on vsock man defines a 32-bits value, openapi default integer
is a signed 32-bits value.

This could lead to miss one bit during castings for typed client
implmentations. Lets increase the range of valid values by requesting an
int64.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
Jose Carlos Venegas Munoz 2019-11-25 20:28:07 +00:00 committed by Samuel Ortiz
parent 9fd5ea4951
commit ab16af2941

View File

@ -395,6 +395,7 @@ components:
properties:
cid:
type: integer
format: int64
minimum: 3
description: Guest Vsock CID
sock: