mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
openapi: Fix schema
Fix openapi schema to be a valid yaml. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
parent
f994665610
commit
99e608c240
@ -133,6 +133,12 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/VmResize'
|
||||
required: true
|
||||
responses:
|
||||
204:
|
||||
description: The VM instance was successfully resized.
|
||||
404:
|
||||
description: The VM instance could not be resized because it is not created.
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
||||
@ -218,15 +224,13 @@ components:
|
||||
CpuConfig:
|
||||
required:
|
||||
- boot_vcpus
|
||||
- max_vcpus
|
||||
type: object
|
||||
properties:
|
||||
boot_vcpus:
|
||||
minimum: 1
|
||||
default: 1
|
||||
type: integer
|
||||
- max_vcpus
|
||||
type: object
|
||||
properties:
|
||||
max_vcpus:
|
||||
minimum: 1
|
||||
default: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user