Fix incorrect api ref parameters

fix incorrect ``snapshot_id``, ``project_id``
and ``status``, besides, remove some unused
parameters.

Change-Id: I6d9e359957bf459032e0796a52879cab7c4caaa5
This commit is contained in:
junboli 2017-12-26 21:16:03 +08:00
parent fb6b2c0b53
commit 26808c59c2
2 changed files with 9 additions and 53 deletions

View File

@ -50,12 +50,6 @@ share_id:
in: path
required: true
type: string
share_id_3:
description: |
The ID of the share.
in: path
required: false
type: string
share_instance_id:
description: |
The UUID of the share instance.
@ -74,12 +68,6 @@ share_replica_id_path:
in: path
required: true
type: string
share_server_id_1:
description: |
The UUID of the share server.
in: path
required: true
type: string
share_type_for_quota:
description: |
The name or UUID of the share type. If you specify this
@ -162,13 +150,6 @@ backend_query:
in: query
required: false
type: string
binary_3:
description: |
The service binary name. Default is the base name
of the executable.
in: query
required: false
type: string
description_inexact_query:
description: |
The description pattern that can be used to filter shares,
@ -237,18 +218,6 @@ group_snapshot_status_query:
in: query
required: false
type: string
host_11:
description: |
The host name for the back end.
in: query
required: false
type: string
host_12:
description: |
The host name.
in: query
required: false
type: string
host_7:
description: |
The share host name.
@ -279,19 +248,6 @@ message_level:
type: string
description: >
The message level.
metadata_1:
description: |
One or more metadata key-value pairs, as a
dictionary of strings.
in: query
required: false
type: object
name_13:
description: |
The share name.
in: query
required: false
type: string
name_inexact_query:
description: |
The name pattern that can be used to filter shares,
@ -441,13 +397,6 @@ snapshot_id_query:
in: query
required: false
type: string
snapshot_id_share_response:
description: |
The UUID of the snapshot that was used to create
the share.
in: query
required: false
type: string
sort_dir:
description: |
The direction to sort a list of shares. A valid
@ -3165,6 +3114,13 @@ snapshot_id_request:
in: body
required: false
type: string
snapshot_id_share_response:
description: |
The UUID of the snapshot that was used to create
the share.
in: body
required: true
type: string
snapshot_instance_id:
description: |
The UUID of the share snapshot instance.
@ -3293,7 +3249,7 @@ snapshot_status:
``manage_error``, ``unmanage_starting``, ``unmanage_error`` or
``error_deleting``.
in: body
requitred: true
required: true
type: string
snapshot_status_request:
description: |

View File

@ -325,7 +325,7 @@ Response parameters
- id: id_4
- status: status_3
- links: links
- project_id: project_id_6
- project_id: project_id
- share_proto: share_proto
- size: size
- name: name_5