Skip to content

Commit

Permalink
Version updated (#73)
Browse files Browse the repository at this point in the history
Example improved
  • Loading branch information
ivankamkin authored Mar 25, 2024
1 parent 60f55a2 commit 46aa4a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Freleases.aspose.cloud%2Fjava%2Frepo%2Fcom%2Faspose%2Faspose-barcode-cloud%2Fmaven-metadata.xml)](https://releases.aspose.cloud/java/repo/com/aspose/aspose-barcode-cloud/)

- API version: 3.0
- SDK version: 24.2.0
- SDK version: 24.3.0

## Demo applications

Expand Down Expand Up @@ -68,7 +68,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode-cloud</artifactId>
<version>24.2.0</version>
<version>24.3.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -83,7 +83,7 @@ mvn clean package

Then manually install the following JARs:

- `target/aspose-barcode-cloud-24.2.0.jar`
- `target/aspose-barcode-cloud-24.3.0.jar`
- `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -126,10 +126,10 @@ public class BarcodeApiExample {
}

private static File generateBarcode(BarcodeApi api) throws ApiException {
String type = EncodeBarcodeType.PDF417.toString();
String type = EncodeBarcodeType.QR.toString();
String text = "Aspose.BarCode for Cloud Sample";
GetBarcodeGenerateRequest request = new GetBarcodeGenerateRequest(type, text);

request.textLocation = "None";
return api.getBarcodeGenerate(request);
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>aspose-barcode-cloud</artifactId>
<packaging>jar</packaging>
<name>aspose-barcode-cloud</name>
<version>24.2.0</version>
<version>24.3.0</version>
<url>https://www.aspose.cloud</url>
<description>Aspose.BarCode Cloud SDK for Java</description>
<scm>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/aspose/barcode/cloud/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
/** ApiClient. */
public class ApiClient {
public final String apiVersion = "v3.0";
public final String clientVersion = "24.2.0";
public final String clientVersion = "24.3.0";

private String baseUrl = "https://api.aspose.cloud";
private String tokenUrl = baseUrl + "/connect/token";
Expand Down Expand Up @@ -110,7 +110,7 @@ protected ApiClient() {
json = new JSON();

// Set default User-Agent.
setUserAgent("Swagger-Codegen/24.2.0/java");
setUserAgent("Swagger-Codegen/24.3.0/java");

addDefaultHeader("x-aspose-client", "java sdk");
addDefaultHeader("x-aspose-client-version", clientVersion);
Expand Down

0 comments on commit 46aa4a0

Please sign in to comment.