api-ref: totalSnapshotsUsed in limits response should be integer

https://developer.openstack.org/api-ref/block-storage/v3/index.html#show-absolute-limits-for-project

totalSnapshotsUsed in limits response should be integer, but
not string. And totalSnapshotsUsed is also used in hosts response
which is string, so this is to add a new parameter for totalSnapshotsUsed.

Change-Id: I48f61f50defe9782d5a7afb7d7fa245f562785a0
This commit is contained in:
zhufl 2018-10-11 17:18:13 +08:00
parent a2d4a9569e
commit cd33e6d841
2 changed files with 7 additions and 1 deletions

View File

@ -45,7 +45,7 @@ Response Parameters
- limits: limits
- rate: rate
- absolute: absolute
- totalSnapshotsUsed: totalSnapshotsUsed
- totalSnapshotsUsed: totalSnapshotsUsed_1
- maxTotalBackups: maxTotalBackups
- maxTotalVolumeGigabytes: maxTotalVolumeGigabytes
- maxTotalSnapshots: maxTotalSnapshots

View File

@ -2829,6 +2829,12 @@ totalSnapshotsUsed:
in: body
required: true
type: string
totalSnapshotsUsed_1:
description: |
The total number of snapshots used.
in: body
required: true
type: integer
totalVolumesUsed:
description: |
The total number of volumes used.