More consolidation

pull/977/head
Andrew Morgan 6 years ago
parent d1fde0837a
commit 7116f9334e

@ -223,17 +223,7 @@ paths:
name: body name: body
required: true required: true
schema: schema:
allOf: $ref: "../identity/definitions/request_email_validation.yaml"
- $ref: "../identity/definitions/request_email_validation.yaml"
- type: object
properties:
id_server:
type: string
description: |-
The hostname of the identity server to communicate with. May
optionally include a port.
example: "id.example.com"
required: ['id_server']
responses: responses:
200: 200:
description: |- description: |-
@ -286,17 +276,7 @@ paths:
name: body name: body
required: true required: true
schema: schema:
allOf: $ref: "../identity/definitions/request_msisdn_validation.yaml"
- $ref: "../identity/definitions/request_msisdn_validation.yaml"
- type: object
properties:
id_server:
type: string
description: |-
The hostname of the identity server to communicate with. May
optionally include a port.
example: "id.example.com"
required: ['id_server']
responses: responses:
200: 200:
description: |- description: |-
@ -418,17 +398,7 @@ paths:
name: body name: body
required: true required: true
schema: schema:
allOf: $ref: "../identity/definitions/request_email_validation.yaml"
- $ref: "../identity/definitions/request_email_validation.yaml"
- type: object
properties:
id_server:
type: string
description: |-
The hostname of the identity server to communicate with. May
optionally include a port.
example: "id.example.com"
required: ['id_server']
responses: responses:
200: 200:
description: An email was sent to the given address. description: An email was sent to the given address.
@ -488,17 +458,7 @@ paths:
name: body name: body
required: true required: true
schema: schema:
allOf: $ref: "../identity/definitions/request_msisdn_validation.yaml"
- $ref: "../identity/definitions/request_msisdn_validation.yaml"
- type: object
properties:
id_server:
type: string
description: |-
The hostname of the identity server to communicate with. May
optionally include a port.
example: "id.example.com"
required: ['id_server']
responses: responses:
200: 200:
description: An SMS message was sent to the given phone number. description: An SMS message was sent to the given phone number.

Loading…
Cancel
Save