Replace the create user REQ and RESP JSON files
Create new REQ and RESP JSON files to incldue "tenantId" in the REQ JSON body, and "username" in the RESP JSON body. Also add the "username" in the RESP parameters table. Change-Id: I47f9b89cd28f9a7ebe8b7d5b52919249705351ef Closes-Bug: 1391532
This commit is contained in:
parent
2d78db6509
commit
6108350bb0
@ -0,0 +1,9 @@
|
||||
{
|
||||
"user": {
|
||||
"tenantId": "null",
|
||||
"name": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"password": "null",
|
||||
"enabled": true
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"user": {
|
||||
"id": "u1000",
|
||||
"name": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"enabled": true,
|
||||
"username": "jqsmith"
|
||||
}
|
||||
}
|
@ -461,7 +461,7 @@
|
||||
<request>
|
||||
<representation mediaType="application/json" element="identity:user">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
|
||||
<xsdxt:code href="../samples/user.json"/>
|
||||
<xsdxt:code href="../samples/user-create-request.json"/>
|
||||
</wadl:doc>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" name="X-Auth-Token" style="header"
|
||||
type="xsd:string" required="true">
|
||||
@ -484,6 +484,11 @@
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
|
||||
email.</wadl:doc>
|
||||
</param>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" name="password" style="plain"
|
||||
type="xsd:string" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
|
||||
password.</wadl:doc>
|
||||
</param>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" name="enabled" style="plain"
|
||||
type="xsd:bool" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">Indicates whether
|
||||
@ -494,7 +499,7 @@
|
||||
<response status="201">
|
||||
<representation mediaType="application/json">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
|
||||
<xsdxt:code href="../samples/user.json"/>
|
||||
<xsdxt:code href="../samples/user-create-response.json"/>
|
||||
</wadl:doc>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" name="id" style="plain"
|
||||
type="xsd:string" required="true">
|
||||
@ -511,6 +516,11 @@
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
|
||||
email.</wadl:doc>
|
||||
</param>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" name="username" style="plain"
|
||||
type="xsd:string" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">The user
|
||||
username.</wadl:doc>
|
||||
</param>
|
||||
<param xmlns="http://wadl.dev.java.net/2009/02" name="enabled" style="plain"
|
||||
type="xsd:bool" required="true">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">Indicates whether
|
||||
|
Loading…
x
Reference in New Issue
Block a user