[api-ref] Correcting parameter's type

This patch corrects some parameter's type such as 'type: list'
to 'type: array' or 'type: array of...' to 'type: array' because we
don't have 'type: list' in 'JSON Schema primitive types' [1]

[1] http://json-schema.org/latest/json-schema-core.html#anchor8

Change-Id: Ic638ef48fcf0f60c55cec975ee20a71d1830b319
This commit is contained in:
Nguyen Phuong An 2016-09-05 16:47:04 +07:00
parent b47f10290e
commit 5c9fa41834
5 changed files with 7 additions and 7 deletions

View File

@ -38,7 +38,7 @@ endpoints_list:
``publicURL`` for the endpoint.
in: body
required: true
type: list
type: array
id:
description: |
Endpoint ID

View File

@ -59,7 +59,7 @@ identity_providers:
List of Identity Providers
in: body
required: true
type: array of objects
type: array
links:
description: |
@ -80,7 +80,7 @@ protocols:
List of Federation Protocols
in: body
required: true
type: list of objects
type: array
protocols_links:
description: |
@ -94,4 +94,4 @@ remote_ids:
List of the unique Identity Provider's remote IDs
in: body
required: true
type: array of strings
type: array

View File

@ -39,7 +39,7 @@ mappings:
The collection of Federation Mappings
in: body
required: true
type: list of objects
type: array
rules:
description: |

View File

@ -67,7 +67,7 @@ service_providers:
The list of Service Providers
in: body
required: true
type: list of objects
type: array
sp_url:
description: |

View File

@ -522,7 +522,7 @@ trust_roles:
``name``.
in: body
required: false
type: list
type: array
trustee_user_id:
description: |
Represents the user who is capable of consuming the trust.