forked from OpenBankProject/OBP-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/OpenBankProject/OBP-API …
…into develop
- Loading branch information
Showing
30 changed files
with
1,236 additions
and
870 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
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ import code.api.v1_2_1.AmountOfMoneyJsonV121 | |
import code.api.v3_0_0.JSONFactory300.createBranchJsonV300 | ||
import code.api.v3_0_0.custom.JSONFactoryCustom300 | ||
import code.api.v3_0_0.{LobbyJsonV330, ScopeJson, _} | ||
import code.api.v3_1_0.{BadLoginStatusJson, ObpApiLoopbackJson, _} | ||
import code.api.v3_1_0.{BadLoginStatusJson, ContactDetailsJson, InviteeJson, ObpApiLoopbackJson, _} | ||
import code.branches.Branches.{DriveUpString, _} | ||
import code.common._ | ||
import code.sandbox.SandboxData | ||
|
@@ -1427,7 +1427,8 @@ object SwaggerDefinitionsJSON { | |
request_verb = "String", | ||
request_url = "String", | ||
summary = "String", | ||
description = "String", | ||
description = "HTML String", | ||
description_markdown = "Mark_down String", | ||
example_request_body = successMessage, //TODO maybe need fix | ||
success_response_body = successMessage, | ||
error_response_bodies = List("OBP-10001= Incorrect json format."), | ||
|
@@ -3130,6 +3131,39 @@ object SwaggerDefinitionsJSON { | |
|
||
val productCollectionJsonTreeV310 = ProductCollectionJsonTreeV310(collection_code = "A", products = List(productJsonV310)) | ||
|
||
val contactDetailsJson = ContactDetailsJson( | ||
name = "Simon ", | ||
mobile_phone = "+44 07972 444 876", | ||
email_addresse = "[email protected]" | ||
) | ||
|
||
val inviteeJson = InviteeJson( | ||
contactDetailsJson, | ||
"String, eg: Good" | ||
) | ||
|
||
val createMeetingJsonV310 = CreateMeetingJsonV310( | ||
provider_id = "String, eg: tokbox", | ||
purpose_id = "String, eg: onboarding", | ||
date = DateWithMsExampleObject, | ||
creator = contactDetailsJson, | ||
invitees = List(inviteeJson) | ||
) | ||
|
||
val meetingJsonV310 = MeetingJsonV310( | ||
meeting_id = "UUID-String", | ||
provider_id = "String, eg: tokbox", | ||
purpose_id = "String, eg: onboarding", | ||
bank_id = "gh.29.uk", | ||
present = meetingPresentJSON, | ||
keys = meetingKeysJSON, | ||
when = DateWithDayExampleObject, | ||
creator = contactDetailsJson, | ||
invitees = List(inviteeJson) | ||
) | ||
|
||
val meetingsJsonV310 = MeetingsJsonV310(List(meetingJsonV310)) | ||
|
||
//The common error or success format. | ||
//Just some helper format to use in Json | ||
case class NoSupportYet() | ||
|
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
Oops, something went wrong.