Skip to content

Commit

Permalink
[#239] adds "recipient_identifiers" to openapi documentation for noti…
Browse files Browse the repository at this point in the history
…fication status endpoint
  • Loading branch information
philherbert committed Nov 9, 2020
1 parent 1f0ac27 commit 1062c63
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions documents/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1327,19 +1327,7 @@ components:
required: [phone_number]
- properties:
recipient_identifier:
type: object
properties:
id_type:
type: string
enum:
- VAPROFILEID
- PID
- ICN
id_value:
type: string
required:
- id_type
- id_value
$ref: '#/components/schemas/RecipientIdentifier'
required: [recipient_identifier]
EmailNotificationRequest:
allOf:
Expand Down Expand Up @@ -1442,6 +1430,10 @@ components:
postcode:
type: string
nullable: true
recipient_identifiers:
type: array
items:
$ref: '#/components/schemas/RecipientIdentifier'
reference:
type: string
nullable: true
Expand Down Expand Up @@ -1501,6 +1493,20 @@ components:
nullable: true
version:
type: integer
RecipientIdentifier:
type: object
properties:
id_type:
type: string
enum:
- VAPROFILEID
- PID
- ICN
id_value:
type: string
required:
- id_type
- id_value
securitySchemes:
adminAuth:
description: "The admin user and secret are used to generate this authentication. They are both defined as
Expand Down

0 comments on commit 1062c63

Please sign in to comment.