Variables in URL path should be required

These inline parameters are not optional, they are required to call the
API, this patch change all of them from optional to required.

Change-Id: I6b1c8893b12e5e88f887c884b9812eb1005dcbdd
This commit is contained in:
Dave Chen 2016-07-14 13:46:06 +08:00
parent e788bed7a3
commit f8231b8daf
4 changed files with 28 additions and 28 deletions

View File

@ -19,13 +19,13 @@ tokenId:
The authentication token for which to perform the
operation.
in: path
required: false
required: true
type: string
userId:
description: |
The user ID.
in: path
required: false
required: true
type: string
# variables in query

View File

@ -17,19 +17,19 @@ roleId:
description: |
The role ID.
in: path
required: false
required: true
type: string
serviceId:
description: |
The service ID.
in: path
required: false
required: true
type: string
tenantId:
description: |
The tenant ID.
in: path
required: false
required: true
type: string
type_1:
description: |
@ -41,7 +41,7 @@ userId:
description: |
The user ID.
in: path
required: false
required: true
type: string
# variables in query

View File

@ -5,79 +5,79 @@ access_token_id:
description: |
The UUID of the access token.
in: path
required: false
required: true
type: string
consumer_id:
description: |
The UUID of the consumer.
in: path
required: false
required: true
type: string
domain_id:
description: |
The UUID of the domain.
in: path
required: false
required: true
type: string
endpoint_id:
description: |
The endpoint ID.
in: path
required: false
required: true
type: string
group_id:
description: |
The UUID of the group.
in: path
required: false
required: true
type: string
name:
description: |
The name of the group.
in: path
required: false
required: true
type: string
policy_id:
description: |
The policy ID.
in: path
required: false
required: true
type: string
project_id:
description: |
The UUID of the project.
in: path
required: false
required: true
type: string
region_id:
description: |
The region ID.
in: path
required: false
required: true
type: string
role_id:
description: |
The UUID of the role.
in: path
required: false
required: true
type: string
service_id:
description: |
The service ID.
in: path
required: false
required: true
type: string
trust_id:
description: |
The trust ID.
in: path
required: false
required: true
type: string
user_id:
description: |
The UUID of the user.
in: path
required: false
required: true
type: string
# variables in query

View File

@ -33,19 +33,19 @@ credential_id:
description: |
The UUID for the credential.
in: path
required: false
required: true
type: string
domain_id:
description: |
Filters the response by a domain ID.
in: path
required: false
required: true
type: string
endpoint_id:
description: |
The endpoint ID.
in: path
required: false
required: true
type: string
group_1:
description: |
@ -58,7 +58,7 @@ group_id:
description: |
The group ID.
in: path
required: false
required: true
type: string
option:
description: |
@ -66,19 +66,19 @@ option:
value is ``url`` or ``user_tree_dn``. For the ``identity`` group,
a valid value is ``driver``.
in: path
required: false
required: true
type: string
policy_id:
description: |
The policy ID.
in: path
required: false
required: true
type: string
project_id:
description: |
The project ID.
in: path
required: false
required: true
type: string
region_id_2:
description: |
@ -90,7 +90,7 @@ role_id:
description: |
The role ID.
in: path
required: false
required: true
type: string
service_id_2:
description: |
@ -102,7 +102,7 @@ user_id:
description: |
The user ID.
in: path
required: false
required: true
type: string
# variables in query