Api-ref: Fix the incorrect parameter description
In the attachment API, the response parameters, such as ``detached_at``, ``attached_at``, ``attach_mode``, ``instance`` are optional, however these should be required, this is to fix these. Change-Id: I2748e971655c3f5715585409e5c021f0d91690e4
This commit is contained in:
parent
9d263f711d
commit
9448e6e372
@ -106,7 +106,7 @@ Response Parameters
|
|||||||
- connection_info: connection_info
|
- connection_info: connection_info
|
||||||
- attached_at: attached_at
|
- attached_at: attached_at
|
||||||
- attach_mode: attach_mode
|
- attach_mode: attach_mode
|
||||||
- instance: instance_uuid
|
- instance: instance_uuid_1
|
||||||
- volume_id: volume_id_7
|
- volume_id: volume_id_7
|
||||||
- id: attachment_id_2
|
- id: attachment_id_2
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ Response Parameters
|
|||||||
- connection_info: connection_info
|
- connection_info: connection_info
|
||||||
- attached_at: attached_at
|
- attached_at: attached_at
|
||||||
- attach_mode: attach_mode
|
- attach_mode: attach_mode
|
||||||
- instance: instance_uuid
|
- instance: instance_uuid_1
|
||||||
- volume_id: volume_id_7
|
- volume_id: volume_id_7
|
||||||
- id: attachment_id_2
|
- id: attachment_id_2
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ Response Parameters
|
|||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- status: status_9
|
- status: status_9
|
||||||
- instance: instance_uuid
|
- instance: instance_uuid_1
|
||||||
- volume_id: volume_id_7
|
- volume_id: volume_id_7
|
||||||
- id: attachment_id_2
|
- id: attachment_id_2
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ Response Parameters
|
|||||||
- connection_info: connection_info
|
- connection_info: connection_info
|
||||||
- attached_at: attached_at
|
- attached_at: attached_at
|
||||||
- attach_mode: attach_mode
|
- attach_mode: attach_mode
|
||||||
- instance: instance_uuid
|
- instance: instance_uuid_1
|
||||||
- volume_id: volume_id_7
|
- volume_id: volume_id_7
|
||||||
- id: attachment_id_2
|
- id: attachment_id_2
|
||||||
|
|
||||||
@ -334,7 +334,7 @@ Response Parameters
|
|||||||
- connection_info: connection_info
|
- connection_info: connection_info
|
||||||
- attached_at: attached_at
|
- attached_at: attached_at
|
||||||
- attach_mode: attach_mode
|
- attach_mode: attach_mode
|
||||||
- instance: instance_uuid
|
- instance: instance_uuid_1
|
||||||
- volume_id: volume_id_7
|
- volume_id: volume_id_7
|
||||||
- id: attachment_id_2
|
- id: attachment_id_2
|
||||||
|
|
||||||
|
@ -441,7 +441,7 @@ attach_mode:
|
|||||||
The attach mode of attachment, read-only ('ro') or
|
The attach mode of attachment, read-only ('ro') or
|
||||||
read-and-write ('rw'), default is 'rw'.
|
read-and-write ('rw'), default is 'rw'.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
attach_status:
|
attach_status:
|
||||||
description: |
|
description: |
|
||||||
@ -453,7 +453,7 @@ attached_at:
|
|||||||
description: |
|
description: |
|
||||||
The time when attachment is attached.
|
The time when attachment is attached.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
attachment:
|
attachment:
|
||||||
description: |
|
description: |
|
||||||
@ -970,7 +970,7 @@ detached_at:
|
|||||||
description: |
|
description: |
|
||||||
The time when attachment is detached.
|
The time when attachment is detached.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
disabled:
|
disabled:
|
||||||
description: |
|
description: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user