Validate parameters type

This patch updates the parater from "xsd:string" to "string" to
make it unify with new API documentation.

Change-Id: Iaf336eb93599444fddf1d1a6b364d046a591b4c9
This commit is contained in:
Ha Van Tu 2016-08-30 12:56:18 +07:00
parent 51ba3cc481
commit 98b8a8af72

View File

@ -49,20 +49,20 @@ The payload of credentials to authenticate contains these parameters:
+-----------------------+----------------+--------------------------------------+
| Parameter | Type | Description |
+=======================+================+======================================+
| username (required) | xsd:string | The user name. If you do not provide |
| username (required) | string | The user name. If you do not provide |
| | | a user name and password, you must |
| | | provide a token. |
+-----------------------+----------------+--------------------------------------+
| password (required) | xsd:string | The password for the user. |
| password (required) | string | The password for the user. |
+-----------------------+----------------+--------------------------------------+
| *tenantName* | xsd:string | The tenant name. Both the |
| *tenantName* | string | The tenant name. Both the |
| (Optional) | | *tenantId* and *tenantName* |
| | | are optional and mutually exclusive. |
| | | If you specify both attributes, the |
| | | server returns the Bad Request (400) |
| | | response code. |
+-----------------------+----------------+--------------------------------------+
| *tenantId* | xsd:string | The tenant ID. Both the *tenantId* |
| *tenantId* | string | The tenant ID. Both the *tenantId* |
| (Optional) | | and *tenantName* are optional and |
| | | mutually exclusive. If you specify |
| | | both attributes, the server returns |
@ -72,7 +72,7 @@ The payload of credentials to authenticate contains these parameters:
| | | the tenant name or ID. The response |
| | | returns the tenant name or ID. |
+-----------------------+----------------+--------------------------------------+
| token (Optional) | xsd:string | A token. If you do not provide a |
| token (Optional) | string | A token. If you do not provide a |
| | | token, you must provide a user name |
| | | and password. |
+-----------------------+----------------+--------------------------------------+