mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-29 17:15:19 +00:00
defc5dcd9c
When consumer of the HTTP API try to interact with cloud-hypervisor, they have to provide the equivalent of the config structure related to each component they need. Problem is, the Rust enum type "Option" cannot be obtained from the OpenAPI YAML definition. This patch intends to fix this inconsistency between what is possible through the CLI and what's possible through the HTTP API by using simple types bool and int64 instead of Option<u64>. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
openapi | ||
http_endpoint.rs | ||
http.rs | ||
mod.rs |