File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
src/main/java/com/mx/client Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mvn clean package
2424```
2525
2626Then 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
6060public 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
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiPackage: com.mx.client.mx-platform-api
33artifactDescription : A Java library for the MX Platform API
44artifactId : mx-platform-java
55artifactUrl : https://github.com/mxenabled/mx-platform-java
6- artifactVersion : 0.5.4
6+ artifactVersion : 0.5.5
77developerEmail : devexperience@mx.com
88developerName : MX
99developerOrganization : MX Technologies Inc.
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments