5c9fa41834
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
78 lines
1.2 KiB
YAML
78 lines
1.2 KiB
YAML
# variables in header
|
|
|
|
# variables in path
|
|
|
|
id_path:
|
|
description: |
|
|
The Service Provider unique ID
|
|
in: path
|
|
required: true
|
|
type: string
|
|
|
|
# variables in query
|
|
|
|
# variables in body
|
|
|
|
auth_url:
|
|
description: |
|
|
The URL to authenticate against
|
|
in: body
|
|
required: true
|
|
type: string
|
|
|
|
description:
|
|
description: |
|
|
The description of the Service Provider
|
|
in: body
|
|
required: false
|
|
type: string
|
|
|
|
enabled:
|
|
description: |
|
|
Whether the Service Provider is enabled or not
|
|
in: body
|
|
required: true
|
|
type: bool
|
|
|
|
id_body:
|
|
description: |
|
|
The Service Provider unique ID
|
|
in: body
|
|
required: true
|
|
type: string
|
|
|
|
links:
|
|
description: |
|
|
Link to the URI where the Service Provider is located
|
|
in: body
|
|
required: true
|
|
type: string
|
|
|
|
links_collection:
|
|
description: |
|
|
Link to the URI where the Service Provider collection is located
|
|
in: body
|
|
required: true
|
|
type: string
|
|
|
|
relay_state_prefix:
|
|
description: |
|
|
The prefix of the RelayState SAML attribute
|
|
in: body
|
|
required: true
|
|
type: string
|
|
|
|
service_providers:
|
|
description: |
|
|
The list of Service Providers
|
|
in: body
|
|
required: true
|
|
type: array
|
|
|
|
sp_url:
|
|
description: |
|
|
The Service Provider's URL
|
|
in: body
|
|
required: true
|
|
type: string
|