Skip to content

Commit 7c69798

Browse files
Merge pull request #40 from mxenabled/openapi-generator-0.6.1
Generated version 0.6.1
2 parents 99b1d74 + 1be41e0 commit 7c69798

9 files changed

Lines changed: 6 additions & 32 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.0.jar`
27+
- `target/mx-platform-java-0.6.1.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.0</version>
38+
<version>0.6.1</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```

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.0
6+
artifactVersion: 0.6.1
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.0</version>
8+
<version>0.6.1</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.0/java");
134+
setUserAgent("OpenAPI-Generator/0.6.1/java");
135135

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

src/main/java/com/mx/client/model/CredentialRequest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import io.swagger.annotations.ApiModel;
2424
import io.swagger.annotations.ApiModelProperty;
2525
import java.io.IOException;
26-
import org.openapitools.jackson.nullable.JsonNullable;
2726

2827
/**
2928
* CredentialRequest
@@ -100,22 +99,11 @@ public boolean equals(Object o) {
10099
Objects.equals(this.value, credentialRequest.value);
101100
}
102101

103-
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
104-
return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
105-
}
106-
107102
@Override
108103
public int hashCode() {
109104
return Objects.hash(guid, value);
110105
}
111106

112-
private static <T> int hashCodeNullable(JsonNullable<T> a) {
113-
if (a == null) {
114-
return 1;
115-
}
116-
return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
117-
}
118-
119107
@Override
120108
public String toString() {
121109
StringBuilder sb = new StringBuilder();

src/main/java/com/mx/client/model/HoldingResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public HoldingResponse accountGuid(String accountGuid) {
117117
* @return accountGuid
118118
**/
119119
@javax.annotation.Nullable
120-
@ApiModelProperty(example = "HOL-d65683e8-9eab-26bb-bcfd-ced159c9abe2", value = "")
120+
@ApiModelProperty(example = "ACT-06d7f44b-caae-0f6e-1384-01f52e75dcb1", value = "")
121121

122122
public String getAccountGuid() {
123123
return accountGuid;

src/main/java/com/mx/client/model/TransactionRuleUpdateRequest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import io.swagger.annotations.ApiModel;
2424
import io.swagger.annotations.ApiModelProperty;
2525
import java.io.IOException;
26-
import org.openapitools.jackson.nullable.JsonNullable;
2726

2827
/**
2928
* TransactionRuleUpdateRequest
@@ -128,22 +127,11 @@ public boolean equals(Object o) {
128127
Objects.equals(this.matchDescription, transactionRuleUpdateRequest.matchDescription);
129128
}
130129

131-
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
132-
return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get()));
133-
}
134-
135130
@Override
136131
public int hashCode() {
137132
return Objects.hash(categoryGuid, description, matchDescription);
138133
}
139134

140-
private static <T> int hashCodeNullable(JsonNullable<T> a) {
141-
if (a == null) {
142-
return 1;
143-
}
144-
return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31;
145-
}
146-
147135
@Override
148136
public String toString() {
149137
StringBuilder sb = new StringBuilder();

src/test/java/com/mx/client/model/CredentialRequestTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import io.swagger.annotations.ApiModel;
2222
import io.swagger.annotations.ApiModelProperty;
2323
import java.io.IOException;
24-
import org.openapitools.jackson.nullable.JsonNullable;
2524
import org.junit.Assert;
2625
import org.junit.Ignore;
2726
import org.junit.Test;

src/test/java/com/mx/client/model/TransactionRuleUpdateRequestTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import io.swagger.annotations.ApiModel;
2222
import io.swagger.annotations.ApiModelProperty;
2323
import java.io.IOException;
24-
import org.openapitools.jackson.nullable.JsonNullable;
2524
import org.junit.Assert;
2625
import org.junit.Ignore;
2726
import org.junit.Test;

0 commit comments

Comments
 (0)