-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly mark invite flow attributes as required (#148)
* add: optional and required fields to invite flow * mark all attributes in invite flow as required * add: optional and required fields to invite flow * mark all attributes in invite flow as required * add: required fields in the IETF-RFC invite flow
- Loading branch information
1 parent
cbeb415
commit 17d7710
Showing
2 changed files
with
53 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -690,45 +690,53 @@ definitions: | |
providerId: "51dc30ddc473d43a6011e9ebba6ca770" | ||
AcceptedInvite: | ||
type: object | ||
allOf: | ||
- properties: | ||
recipientProvider: | ||
type: string | ||
format: fqdn | ||
description: FQDN of the receiver OCM service. | ||
example: receiver.org | ||
token: | ||
type: string | ||
description: Token received in the invite | ||
example: xyz | ||
userID: | ||
type: string | ||
description: Unique ID to identify the Invite Receiver at their OCM Server. | ||
example: 51dc30ddc473d43a6011e9ebba6ca770 | ||
email: | ||
type: string | ||
description: Email address of the Invite Receiver. | ||
example: [email protected] | ||
name: | ||
type: string | ||
description: Name of the Invite Receiver. | ||
example: Richard Feynman | ||
required: | ||
- recipientProvider | ||
- token | ||
- userID | ||
- name | ||
properties: | ||
recipientProvider: | ||
type: string | ||
format: fqdn | ||
description: FQDN of the receiver OCM service. | ||
example: receiver.org | ||
token: | ||
type: string | ||
description: Token received in the invite | ||
example: xyz | ||
userID: | ||
type: string | ||
description: Unique ID to identify the Invite Receiver at their OCM Server. | ||
example: 51dc30ddc473d43a6011e9ebba6ca770 | ||
email: | ||
type: string | ||
description: Email address of the Invite Receiver. | ||
example: [email protected] | ||
name: | ||
type: string | ||
description: Name of the Invite Receiver. | ||
example: Richard Feynman | ||
AcceptedInviteResponse: | ||
type: object | ||
allOf: | ||
- properties: | ||
userID: | ||
type: string | ||
description: Unique ID to identify the Invite Sender at their OCM Server. | ||
example: 9302 | ||
email: | ||
type: string | ||
description: Email ID of the Invite Sender. | ||
example: [email protected] | ||
name: | ||
type: string | ||
description: Name of the Invite Sender. | ||
example: John Doe | ||
required: | ||
- userID | ||
- name | ||
properties: | ||
userID: | ||
type: string | ||
description: Unique ID to identify the Invite Sender at their OCM Server. | ||
example: 9302 | ||
email: | ||
type: string | ||
description: Email ID of the Invite Sender. | ||
example: [email protected] | ||
name: | ||
type: string | ||
description: Name of the Invite Sender. | ||
example: John Doe | ||
TokenRequest: | ||
type: object | ||
properties: | ||
|