Skip to content

Commit

Permalink
Merge pull request #2428 from hongwei1/develop
Browse files Browse the repository at this point in the history
bugfix/fixed the swagger bug
  • Loading branch information
simonredfern authored Oct 7, 2024
2 parents 34e2c23 + 68be127 commit ab38718
Show file tree
Hide file tree
Showing 59 changed files with 943 additions and 1,102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ object APIMethods_AccountsApi extends RestHelper {
Obtain detailed information on a single account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -83,7 +83,7 @@ object APIMethods_AccountsApi extends RestHelper {
Obtain detailed information on a transaction for a specific account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -137,7 +137,7 @@ Some general notes that apply to all end points that retrieve transactions:
- For transaction amounts it should be assumed that a negative value indicates a reduction of the available balance on the account while a positive value indicates an increase in the available balance on the account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"transactions" : [ {
Expand Down Expand Up @@ -271,7 +271,7 @@ Some general notes that apply to all end points that retrieve transactions:
// Obtain a list of accounts
//
// """,
// emptyObjectJson,
// EmptyBody,
// json.parse("""{
// "data" : {
// "accounts" : [ {
Expand Down Expand Up @@ -370,7 +370,7 @@ Some general notes that apply to all end points that retrieve transactions:
// Obtain the balance for a single specified account
//
// """,
// emptyObjectJson,
// EmptyBody,
// json.parse("""{
// "data" : {
// "accountId" : "accountId",
Expand Down Expand Up @@ -439,7 +439,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain balances for multiple, filtered accounts

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"balances" : [ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object APIMethods_BankingApi extends RestHelper {
Obtain detailed information on a single account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -96,7 +96,7 @@ object APIMethods_BankingApi extends RestHelper {
Obtain detailed information on a single payee

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -136,7 +136,7 @@ object APIMethods_BankingApi extends RestHelper {
Obtain detailed information on a single product offered openly to the market

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -176,7 +176,7 @@ object APIMethods_BankingApi extends RestHelper {
Obtain detailed information on a transaction for a specific account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -230,7 +230,7 @@ Some general notes that apply to all end points that retrieve transactions:
- For transaction amounts it should be assumed that a negative value indicates a reduction of the available balance on the account while a positive value indicates an increase in the available balance on the account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"transactions" : [ {
Expand Down Expand Up @@ -364,7 +364,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain a list of accounts

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"accounts" : [ {
Expand Down Expand Up @@ -429,7 +429,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain the balance for a single specified account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"accountId" : "accountId",
Expand Down Expand Up @@ -478,7 +478,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain balances for multiple, filtered accounts

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"balances" : [ {
Expand Down Expand Up @@ -711,7 +711,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain direct debit authorisations for a specific account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"directDebitAuthorisations" : [ {
Expand Down Expand Up @@ -813,7 +813,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain direct debit authorisations for multiple, filtered accounts

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"directDebitAuthorisations" : [ {
Expand Down Expand Up @@ -1022,7 +1022,7 @@ Some general notes that apply to all end points that retrieve transactions:
Obtain a list of pre-registered payees

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"payees" : [ {
Expand Down Expand Up @@ -1146,7 +1146,7 @@ It is expected that data consumers needing this data will call relatively freque
In addition, the concept of effective date and time has also been included. This allows for a product to be marked for obsolescence, or introduction, from a certain time without the need for an update to show that a product has been changed. The inclusion of these dates also removes the need to represent deleted products in the payload. Products that are no long offered can be marked not effective for a few weeks before they are then removed from the product set as an option entirely.

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"products" : [ {
Expand Down Expand Up @@ -1280,7 +1280,7 @@ In addition, the concept of effective date and time has also been included. This
Obtain scheduled, outgoing payments for a specific account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"scheduledPayments" : [ {
Expand Down Expand Up @@ -1898,7 +1898,7 @@ In addition, the concept of effective date and time has also been included. This
Obtain scheduled payments for multiple, filtered accounts that are the source of funds for the payments

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"scheduledPayments" : [ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object APIMethods_CommonApi extends RestHelper {
Obtain basic information on the customer that has authorised the current session

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"person" : {
Expand Down Expand Up @@ -134,7 +134,7 @@ object APIMethods_CommonApi extends RestHelper {
Obtain detailed information on the authorised customer within the current session.

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"person" : "",
Expand Down Expand Up @@ -182,7 +182,7 @@ object APIMethods_CommonApi extends RestHelper {
Obtain a list of scheduled outages for the implementation

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"outages" : [ {
Expand Down Expand Up @@ -246,7 +246,7 @@ object APIMethods_CommonApi extends RestHelper {
Obtain a health check status for the implementation

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"updateTime" : "updateTime",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object APIMethods_CustomerApi extends RestHelper {
Obtain basic information on the customer that has authorised the current session

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"person" : {
Expand Down Expand Up @@ -132,7 +132,7 @@ object APIMethods_CustomerApi extends RestHelper {
Obtain detailed information on the authorised customer within the current session.

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"person" : "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object APIMethods_DirectDebitsApi extends RestHelper {
Obtain direct debit authorisations for a specific account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"directDebitAuthorisations" : [ {
Expand Down Expand Up @@ -141,7 +141,7 @@ object APIMethods_DirectDebitsApi extends RestHelper {
Obtain direct debit authorisations for multiple, filtered accounts

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"directDebitAuthorisations" : [ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object APIMethods_DiscoveryApi extends RestHelper {
Obtain a list of scheduled outages for the implementation

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"outages" : [ {
Expand Down Expand Up @@ -102,7 +102,7 @@ object APIMethods_DiscoveryApi extends RestHelper {
Obtain a health check status for the implementation

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"updateTime" : "updateTime",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object APIMethods_PayeesApi extends RestHelper {
Obtain detailed information on a single payee

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -78,7 +78,7 @@ object APIMethods_PayeesApi extends RestHelper {
Obtain a list of pre-registered payees

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"payees" : [ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object APIMethods_ProductsApi extends RestHelper {
Obtain detailed information on a single product offered openly to the market

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : "",
"meta" : " ",
Expand Down Expand Up @@ -120,7 +120,7 @@ It is expected that data consumers needing this data will call relatively freque
In addition, the concept of effective date and time has also been included. This allows for a product to be marked for obsolescence, or introduction, from a certain time without the need for an update to show that a product has been changed. The inclusion of these dates also removes the need to represent deleted products in the payload. Products that are no long offered can be marked not effective for a few weeks before they are then removed from the product set as an option entirely.

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"products" : [ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object APIMethods_ScheduledPaymentsApi extends RestHelper {
Obtain scheduled, outgoing payments for a specific account

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"scheduledPayments" : [ {
Expand Down Expand Up @@ -657,7 +657,7 @@ object APIMethods_ScheduledPaymentsApi extends RestHelper {
Obtain scheduled payments for multiple, filtered accounts that are the source of funds for the payments

""",
emptyObjectJson,
EmptyBody,
json.parse("""{
"data" : {
"scheduledPayments" : [ {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Removes consent""",
json.parse("""{
"consentId" : "consentId"
}"""),
emptyObjectJson,
EmptyBody,
List(UserNotLoggedIn, UnknownError),
ApiTag("AIS") :: apiTagMockedData :: Nil
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ Requests OAuth2 authorization code based One-time authorization code issued by E
"state" : "state",
"client_id" : "client_id"
}"""),
emptyObjectJson,
EmptyBody,
List(UserNotLoggedIn, UnknownError),
ApiTag("AS") :: apiTagMockedData :: Nil
)
Expand Down
Loading

0 comments on commit ab38718

Please sign in to comment.