Add description of domain_id in creating user/group

This patch add descriptions of domain id in creating user/group api.
When creating a user/group, if domain_id is not specified, the
Identity service implementation will get domain id from token.

Change-Id: I30efed239243a63788d72745326379c877060c40
This commit is contained in:
zlyqqq 2017-07-14 18:12:02 +08:00 committed by zhengliuyang
parent b3fc06c9ef
commit 0505765b04
1 changed files with 9 additions and 3 deletions

View File

@ -882,9 +882,12 @@ group_domain_id:
type: string
group_domain_id_request_body:
description: |
The ID of the domain of the group.
The ID of the domain of the group. If the domain ID is not
provided in the request, the Identity service will attempt to
pull the domain ID from the token used in the request. Note that
this requires the use of a domain-scoped token.
in: body
required: true
required: false
type: string
group_domain_id_response_body:
description: |
@ -1454,7 +1457,10 @@ user_domain_id:
type: string
user_domain_id_request_body:
description: |
The ID of the domain for the user.
The ID of the domain of the user. If the domain ID is not
provided in the request, the Identity service will attempt to
pull the domain ID from the token used in the request. Note that
this requires the use of a domain-scoped token.
in: body
required: false
type: string