api_ref: total_capacity and free_capacity can be float

Some drivers will report total_capacity and free_capacity
as float, so this is to change the data type description to
include floating point.

Change-Id: Icd206ba3733adf9543a9e1384ef7245e287ee858
This commit is contained in:
zhufl 2018-10-09 10:10:23 +08:00
parent e1d8ec8b26
commit 6cf93c2f80
2 changed files with 6 additions and 6 deletions

View File

@ -626,7 +626,7 @@ free_capacity:
description: |
The amount of free capacity for the back-end
volume, in GBs. A valid value is a string, such as ``unknown``, or
an integer.
a number (integer or floating point).
in: body
required: true
type: string
@ -1594,8 +1594,8 @@ storage_protocol:
total_capacity:
description: |
The total capacity for the back-end volume, in
GBs. A valid value is a string, such as ``unknown``, or an
integer.
GBs. A valid value is a string, such as ``unknown``, or a
number (integer or floating point).
in: body
required: true
type: string

View File

@ -1128,7 +1128,7 @@ free_capacity:
description: |
The amount of free capacity for the back-end
volume, in GBs. A valid value is a string, such as ``unknown``, or
an integer.
a number (integer or floating point).
in: body
required: true
type: string
@ -2770,8 +2770,8 @@ summary_metadata:
total_capacity:
description: |
The total capacity for the back-end volume, in
GBs. A valid value is a string, such as ``unknown``, or an
integer.
GBs. A valid value is a string, such as ``unknown``, or a
number (integer or floating point).
in: body
required: true
type: string