Fix incorrect responses codes in Identity API v3

For these six HEAD calls, the correct normal response code is
204 No Content.

Change-Id: I2b23eed10088831df6168bdbf09c4ad39b7adb4f
Closes-Bug: #1486739
This commit is contained in:
Timothy Symanczyk 2015-08-14 23:27:29 -07:00
parent c05e02c846
commit 4be3df1c12

View File

@ -765,7 +765,7 @@
</representation>
</request>
<!--There is no response. As noted above, an HTTP 204 indicates success-->
<response status="200"/> &commonFaults; &getFaults; </method>
<response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeTokens">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1246,7 +1246,7 @@
a domain.</para>
</wadl:doc>
<!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method>
<response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeDomainUserRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1293,7 +1293,7 @@
on a domain.</para>
</wadl:doc>
<!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method>
<response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeDomainGroupRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1456,7 +1456,7 @@
specified role on a project.</para>
</wadl:doc>
<!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method>
<response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeProjectUserRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1503,7 +1503,7 @@
a role.</para>
</wadl:doc>
<!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method>
<response status="204"/> &commonFaults; &getFaults; </method>
<method name="DELETE" id="revokeProjectGroupRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"
@ -1815,7 +1815,7 @@
group.</para>
</wadl:doc>
<!--No request body is provided-->
<response status="200"/> &commonFaults; &getFaults; </method>
<response status="204"/> &commonFaults; &getFaults; </method>
<method name="GET" id="listGroupUsers">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xmlns:wadl="http://wadl.dev.java.net/2009/02"