Skip to content

Commit 3e0e124

Browse files
Merge pull request #43 from mxenabled/openapi-generator-0.7.0
Generated version 0.7.0
2 parents 9ca3fb7 + ace3a63 commit 3e0e124

7 files changed

Lines changed: 393 additions & 328 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mvn clean package
2424
```
2525

2626
Then manually install the following JARs:
27-
- `target/mx-platform-java-0.6.2.jar`
27+
- `target/mx-platform-java-0.7.0.jar`
2828
- `target/lib/*.jar`
2929

3030
### Maven users
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.mx</groupId>
3737
<artifactId>mx-platform-java</artifactId>
38-
<version>0.6.2</version>
38+
<version>0.7.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

docs/MxPlatformApi.md

Lines changed: 65 additions & 55 deletions
Large diffs are not rendered by default.

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api
33
artifactDescription: A Java library for the MX Platform API
44
artifactId: mx-platform-java
55
artifactUrl: https://github.com/mxenabled/mx-platform-java
6-
artifactVersion: 0.6.2
6+
artifactVersion: 0.7.0
77
developerEmail: devexperience@mx.com
88
developerName: MX
99
developerOrganization: MX Technologies Inc.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>mx-platform-java</artifactId>
66
<packaging>jar</packaging>
77
<name>mx-platform-java</name>
8-
<version>0.6.2</version>
8+
<version>0.7.0</version>
99
<url>https://github.com/mxenabled/mx-platform-java</url>
1010
<description>A Java library for the MX Platform API</description>
1111
<scm>

src/main/java/com/mx/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private void init() {
131131
json = new JSON();
132132

133133
// Set default User-Agent.
134-
setUserAgent("OpenAPI-Generator/0.6.2/java");
134+
setUserAgent("OpenAPI-Generator/0.7.0/java");
135135

136136
authentications = new HashMap<String, Authentication>();
137137
}

src/main/java/com/mx/client/mx_platform_api/MxPlatformApi.java

Lines changed: 293 additions & 243 deletions
Large diffs are not rendered by default.

src/test/java/com/mx/client/mx_platform_api/MxPlatformApiTest.java

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ public void createCategoryTest() throws ApiException {
148148
*/
149149
@Test
150150
public void createManagedAccountTest() throws ApiException {
151-
String userGuid = null;
152151
String memberGuid = null;
152+
String userGuid = null;
153153
ManagedAccountCreateRequestBody managedAccountCreateRequestBody = null;
154-
AccountResponseBody response = api.createManagedAccount(userGuid, memberGuid, managedAccountCreateRequestBody);
154+
AccountResponseBody response = api.createManagedAccount(memberGuid, userGuid, managedAccountCreateRequestBody);
155155
// TODO: test validations
156156
}
157157

@@ -181,10 +181,11 @@ public void createManagedMemberTest() throws ApiException {
181181
*/
182182
@Test
183183
public void createManagedTransactionTest() throws ApiException {
184-
String userGuid = null;
184+
String accountGuid = null;
185185
String memberGuid = null;
186+
String userGuid = null;
186187
ManagedTransactionCreateRequestBody managedTransactionCreateRequestBody = null;
187-
TransactionResponseBody response = api.createManagedTransaction(userGuid, memberGuid, managedTransactionCreateRequestBody);
188+
TransactionResponseBody response = api.createManagedTransaction(accountGuid, memberGuid, userGuid, managedTransactionCreateRequestBody);
188189
// TODO: test validations
189190
}
190191

@@ -293,10 +294,10 @@ public void deleteCategoryTest() throws ApiException {
293294
*/
294295
@Test
295296
public void deleteManagedAccountTest() throws ApiException {
297+
String accountGuid = null;
296298
String memberGuid = null;
297299
String userGuid = null;
298-
String accountGuid = null;
299-
api.deleteManagedAccount(memberGuid, userGuid, accountGuid);
300+
api.deleteManagedAccount(accountGuid, memberGuid, userGuid);
300301
// TODO: test validations
301302
}
302303

@@ -326,10 +327,11 @@ public void deleteManagedMemberTest() throws ApiException {
326327
*/
327328
@Test
328329
public void deleteManagedTransactionTest() throws ApiException {
330+
String accountGuid = null;
329331
String memberGuid = null;
330-
String userGuid = null;
331332
String transactionGuid = null;
332-
api.deleteManagedTransaction(memberGuid, userGuid, transactionGuid);
333+
String userGuid = null;
334+
api.deleteManagedTransaction(accountGuid, memberGuid, transactionGuid, userGuid);
333335
// TODO: test validations
334336
}
335337

@@ -719,11 +721,11 @@ public void listInstitutionsTest() throws ApiException {
719721
*/
720722
@Test
721723
public void listManagedAccountsTest() throws ApiException {
722-
String userGuid = null;
723724
String memberGuid = null;
725+
String userGuid = null;
724726
Integer page = null;
725727
Integer recordsPerPage = null;
726-
AccountsResponseBody response = api.listManagedAccounts(userGuid, memberGuid, page, recordsPerPage);
728+
AccountsResponseBody response = api.listManagedAccounts(memberGuid, userGuid, page, recordsPerPage);
727729
// TODO: test validations
728730
}
729731

@@ -770,11 +772,12 @@ public void listManagedMembersTest() throws ApiException {
770772
*/
771773
@Test
772774
public void listManagedTransactionsTest() throws ApiException {
773-
String userGuid = null;
775+
String accountGuid = null;
774776
String memberGuid = null;
777+
String userGuid = null;
775778
Integer page = null;
776779
Integer recordsPerPage = null;
777-
TransactionsResponseBody response = api.listManagedTransactions(userGuid, memberGuid, page, recordsPerPage);
780+
TransactionsResponseBody response = api.listManagedTransactions(accountGuid, memberGuid, userGuid, page, recordsPerPage);
778781
// TODO: test validations
779782
}
780783

@@ -1116,10 +1119,10 @@ public void readInstitutionTest() throws ApiException {
11161119
*/
11171120
@Test
11181121
public void readManagedAccountTest() throws ApiException {
1122+
String accountGuid = null;
11191123
String memberGuid = null;
11201124
String userGuid = null;
1121-
String accountGuid = null;
1122-
AccountResponseBody response = api.readManagedAccount(memberGuid, userGuid, accountGuid);
1125+
AccountResponseBody response = api.readManagedAccount(accountGuid, memberGuid, userGuid);
11231126
// TODO: test validations
11241127
}
11251128

@@ -1149,10 +1152,11 @@ public void readManagedMemberTest() throws ApiException {
11491152
*/
11501153
@Test
11511154
public void readManagedTransactionTest() throws ApiException {
1155+
String accountGuid = null;
11521156
String memberGuid = null;
1153-
String userGuid = null;
11541157
String transactionGuid = null;
1155-
TransactionResponseBody response = api.readManagedTransaction(memberGuid, userGuid, transactionGuid);
1158+
String userGuid = null;
1159+
TransactionResponseBody response = api.readManagedTransaction(accountGuid, memberGuid, transactionGuid, userGuid);
11561160
// TODO: test validations
11571161
}
11581162

@@ -1343,9 +1347,9 @@ public void requestOAuthWindowURITest() throws ApiException {
13431347
String memberGuid = null;
13441348
String userGuid = null;
13451349
String referralSource = null;
1346-
String uiMessageWebviewUrlScheme = null;
13471350
Boolean skipAggregation = null;
1348-
OAuthWindowResponseBody response = api.requestOAuthWindowURI(memberGuid, userGuid, referralSource, uiMessageWebviewUrlScheme, skipAggregation);
1351+
String uiMessageWebviewUrlScheme = null;
1352+
OAuthWindowResponseBody response = api.requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme);
13491353
// TODO: test validations
13501354
}
13511355

@@ -1393,11 +1397,11 @@ public void resumeAggregationTest() throws ApiException {
13931397
*/
13941398
@Test
13951399
public void updateAccountByMemberTest() throws ApiException {
1396-
String userGuid = null;
1397-
String memberGuid = null;
13981400
String accountGuid = null;
1401+
String memberGuid = null;
1402+
String userGuid = null;
13991403
AccountUpdateRequestBody accountUpdateRequestBody = null;
1400-
AccountResponseBody response = api.updateAccountByMember(userGuid, memberGuid, accountGuid, accountUpdateRequestBody);
1404+
AccountResponseBody response = api.updateAccountByMember(accountGuid, memberGuid, userGuid, accountUpdateRequestBody);
14011405
// TODO: test validations
14021406
}
14031407

@@ -1428,11 +1432,11 @@ public void updateCategoryTest() throws ApiException {
14281432
*/
14291433
@Test
14301434
public void updateManagedAccountTest() throws ApiException {
1435+
String accountGuid = null;
14311436
String memberGuid = null;
14321437
String userGuid = null;
1433-
String accountGuid = null;
14341438
ManagedAccountUpdateRequestBody managedAccountUpdateRequestBody = null;
1435-
AccountResponseBody response = api.updateManagedAccount(memberGuid, userGuid, accountGuid, managedAccountUpdateRequestBody);
1439+
AccountResponseBody response = api.updateManagedAccount(accountGuid, memberGuid, userGuid, managedAccountUpdateRequestBody);
14361440
// TODO: test validations
14371441
}
14381442

@@ -1463,11 +1467,12 @@ public void updateManagedMemberTest() throws ApiException {
14631467
*/
14641468
@Test
14651469
public void updateManagedTransactionTest() throws ApiException {
1470+
String accountGuid = null;
14661471
String memberGuid = null;
1467-
String userGuid = null;
14681472
String transactionGuid = null;
1473+
String userGuid = null;
14691474
ManagedTransactionUpdateRequestBody managedTransactionUpdateRequestBody = null;
1470-
TransactionResponseBody response = api.updateManagedTransaction(memberGuid, userGuid, transactionGuid, managedTransactionUpdateRequestBody);
1475+
TransactionResponseBody response = api.updateManagedTransaction(accountGuid, memberGuid, transactionGuid, userGuid, managedTransactionUpdateRequestBody);
14711476
// TODO: test validations
14721477
}
14731478

0 commit comments

Comments
 (0)