a0af4648b5
* Address an off-by-one error: the cpu_info field was modified in v2.28, not v2.27, * Correct the api-ref to indicate that the 'servers' field is not actually required and will be missing if '?with_servers=false', while the 'name' and 'uuid' fields of servers entries *are* required. * Clarify a comment about the above in the schemas. * Uncouple the '_hypervisor_response' and '_hypervisor_detail_response' helper schemas. The minor increase in lines of code is worth it for the decrease in complexity. * Add the 'host_ip', 'hypervisor_type', and 'hypervisor_version' fields to the list of required fields for "detail"-style responses (show and detailed list). * Make the 'current_workload', 'disk_available_least', 'free_disk_gb', 'free_ram_mb', 'host_ip' and 'running_vms' fields of the hypervisor "detail"-style responses nullable, and the 'current_workload', 'disk_available_least', 'free_disk_gb', 'free_ram_mb' and 'running_vms' fields of the deprecated statistics API nullable. Change-Id: Ibe55b44e65fe17141c63cceae8a003816ffe4f23 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>