mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-23 13:05:45 +00:00
vmm: openapi: remove omitempty
json tag
Due to a known limitation in OpenAPITools/openapi-generator tool, it's impossible to send go zero types, like false and 0 to cloud-hypervisor because `omitempty` is added if a field is not required. Set cache_size, dax, num_queues and queue_size as required to remove `omitempty` from the json tag. fixes #1961 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
465ef3f7ad
commit
270631922d
@ -654,8 +654,12 @@ components:
|
||||
|
||||
FsConfig:
|
||||
required:
|
||||
- tag
|
||||
- cache_size
|
||||
- dax
|
||||
- num_queues
|
||||
- queue_size
|
||||
- socket
|
||||
- tag
|
||||
type: object
|
||||
properties:
|
||||
tag:
|
||||
|
Loading…
x
Reference in New Issue
Block a user