Skip to content

Commit 1b1cb3c

Browse files
Merge pull request #37 from mxenabled/openapi-generator-0.5.5
Generated version 0.5.5
2 parents 43fc4db + 179e91d commit 1b1cb3c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

README.md

Lines changed: 5 additions & 3 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.5.4.jar`
27+
- `target/mx-platform-java-0.5.5.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.5.4</version>
38+
<version>0.5.5</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```
@@ -59,8 +59,10 @@ import java.util.*;
5959

6060
public class Example {
6161
public static void main(String[] args) {
62-
// Configure environment. https://int-api.mx.com for development, https://api.mx.com for production
6362
ApiClient defaultClient = Configuration.getDefaultApiClient();
63+
defaultClient.addDefaultHeader("Accept", "application/vnd.mx.api.v1+json");
64+
65+
// Configure environment. https://int-api.mx.com for development, https://api.mx.com for production
6466
defaultClient.setBasePath("https://int-api.mx.com");
6567

6668
// Configure with your Client ID/API Key from https://dashboard.mx.com

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

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

0 commit comments

Comments
 (0)