Fix response bootable parameter type in api document
This commit fixes the response bootable parameter type in the api document. The type is string not boolean in the current code. And the request parameter's type is boolean. I think this is an inconsistency but we shouldn't change it to keep the backward compatibility. Change-Id: Ia0c70341f595580d12888e1f517e314fb98d4a6b
This commit is contained in:
parent
c633a5bfd2
commit
556a2f8f7f
@ -310,13 +310,13 @@ bootable:
|
||||
in: body
|
||||
required: true
|
||||
type: boolean
|
||||
bootable_1:
|
||||
bootable_response:
|
||||
description: |
|
||||
Enables or disables the bootable attribute. You
|
||||
can boot an instance from a bootable volume.
|
||||
in: body
|
||||
required: false
|
||||
type: boolean
|
||||
required: true
|
||||
type: string
|
||||
capabilities:
|
||||
description: |
|
||||
The capabilities for the back end. The value is
|
||||
|
@ -95,7 +95,7 @@ Response Parameters
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- os-volume-replication:driver_data: os-volume-replication:driver_data
|
||||
- volumes: volumes
|
||||
@ -204,7 +204,7 @@ Response Parameters
|
||||
- volume: volume
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- volume_type: volume_type
|
||||
|
||||
@ -310,7 +310,7 @@ Response Parameters
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- os-volume-replication:driver_data: os-volume-replication:driver_data
|
||||
- volume_type: volume_type
|
||||
@ -382,7 +382,7 @@ Response Parameters
|
||||
- volume: volume
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- volume_type: volume_type
|
||||
|
||||
|
@ -328,13 +328,13 @@ bootable:
|
||||
in: body
|
||||
required: true
|
||||
type: boolean
|
||||
bootable_1:
|
||||
bootable_response:
|
||||
description: |
|
||||
Enables or disables the bootable attribute. You
|
||||
can boot an instance from a bootable volume.
|
||||
in: body
|
||||
required: false
|
||||
type: boolean
|
||||
required: true
|
||||
type: string
|
||||
capabilities:
|
||||
description: |
|
||||
The capabilities for the back end. The value is
|
||||
|
@ -95,7 +95,7 @@ Response Parameters
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- os-volume-replication:driver_data: os-volume-replication:driver_data
|
||||
- volumes: volumes
|
||||
@ -204,7 +204,7 @@ Response Parameters
|
||||
- volume: volume
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- volume_type: volume_type
|
||||
|
||||
@ -310,7 +310,7 @@ Response Parameters
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- os-vol-mig-status-attr:name_id: os-vol-mig-status-attr:name_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- os-volume-replication:driver_data: os-volume-replication:driver_data
|
||||
- volume_type: volume_type
|
||||
@ -382,7 +382,7 @@ Response Parameters
|
||||
- volume: volume
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- name: name
|
||||
- bootable: bootable
|
||||
- bootable: bootable_response
|
||||
- created_at: created_at
|
||||
- volume_type: volume_type
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user