From 5454fd28b6d1bf1c7a5a59efd4646fd5ac5bc9e3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 26 Jan 2026 07:07:56 +0000 Subject: [PATCH] Update SDK to version v2.88.3 - Generated from OpenAPI spec version v2.88.3 - Auto-generated by GitHub Actions --- .sdk-version | 2 +- README.md | 4 +-- build.gradle | 4 +-- build.sbt | 2 +- docs/BinariesApi.md | 10 +++---- pom.xml | 2 +- src/main/java/ai/reveng/api/BinariesApi.java | 26 ++++++++++--------- .../java/ai/reveng/invoker/ApiClient.java | 2 +- .../java/ai/reveng/invoker/Configuration.java | 2 +- .../java/ai/reveng/api/BinariesApiTest.java | 3 ++- 10 files changed, 30 insertions(+), 27 deletions(-) diff --git a/.sdk-version b/.sdk-version index aed1eb7..529c814 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v2.86.0 +v2.88.3 diff --git a/README.md b/README.md index c9bad08..66d0cdb 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add this dependency to your project's POM: ai.reveng sdk - 2.86.0 + 2.88.3 compile ``` @@ -31,7 +31,7 @@ repositories { } dependencies { - implementation "ai.reveng:sdk:2.86.0" + implementation "ai.reveng:sdk:2.88.3" } ``` diff --git a/build.gradle b/build.gradle index 81b0736..749ce2d 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ apply plugin: 'java' apply plugin: 'com.diffplug.spotless' group = 'ai.reveng' -version = '2.86.0' +version = '2.88.3' @@ -171,7 +171,7 @@ mavenPublishing { publishToMavenCentral(true) signAllPublications() - coordinates("ai.reveng", "sdk", "2.86.0") + coordinates("ai.reveng", "sdk", "2.88.3") pom { name = "sdk" diff --git a/build.sbt b/build.sbt index c7fe681..078a30d 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "ai.reveng", name := "sdk", - version := "2.86.0", + version := "2.88.3", scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), diff --git a/docs/BinariesApi.md b/docs/BinariesApi.md index b2024ee..402bca3 100644 --- a/docs/BinariesApi.md +++ b/docs/BinariesApi.md @@ -16,7 +16,7 @@ All URIs are relative to *https://api.reveng.ai* # **downloadZippedBinary** -> Object downloadZippedBinary(binaryId) +> File downloadZippedBinary(binaryId) Downloads a zipped binary with password protection @@ -44,7 +44,7 @@ public class Example { BinariesApi apiInstance = new BinariesApi(defaultClient); Integer binaryId = 56; // Integer | try { - Object result = apiInstance.downloadZippedBinary(binaryId); + File result = apiInstance.downloadZippedBinary(binaryId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling BinariesApi#downloadZippedBinary"); @@ -65,7 +65,7 @@ public class Example { ### Return type -**Object** +[**File**](File.md) ### Authorization @@ -74,12 +74,12 @@ public class Example { ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: application/zip, application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **200** | Successful Response | - | +| **200** | Download file | - | | **422** | Invalid request parameters | - | diff --git a/pom.xml b/pom.xml index e182dde..2c04035 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ sdk jar sdk - 2.86.0 + 2.88.3 https://github.com/RevEngAI/sdk-java Java SDK for the RevEng.AI API diff --git a/src/main/java/ai/reveng/api/BinariesApi.java b/src/main/java/ai/reveng/api/BinariesApi.java index 27223a4..e22cb1f 100644 --- a/src/main/java/ai/reveng/api/BinariesApi.java +++ b/src/main/java/ai/reveng/api/BinariesApi.java @@ -34,6 +34,7 @@ import ai.reveng.model.BaseResponseBinaryExternalsResponse; import ai.reveng.model.BaseResponseChildBinariesResponse; import ai.reveng.model.BaseResponseListDieMatch; +import java.io.File; import java.lang.reflect.Type; import java.util.ArrayList; @@ -88,7 +89,7 @@ public void setCustomBaseUrl(String customBaseUrl) { - +
Response Details
Status Code Description Response Headers
200 Successful Response -
200 Download file -
422 Invalid request parameters -
*/ @@ -119,6 +120,7 @@ public okhttp3.Call downloadZippedBinaryCall(@javax.annotation.Nonnull Integer b Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { + "application/zip", "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); @@ -152,18 +154,18 @@ private okhttp3.Call downloadZippedBinaryValidateBeforeCall(@javax.annotation.No * Downloads a zipped binary with password protection * * @param binaryId (required) - * @return Object + * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - +
Response Details
Status Code Description Response Headers
200 Successful Response -
200 Download file -
422 Invalid request parameters -
*/ - public Object downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId) throws ApiException { - ApiResponse localVarResp = downloadZippedBinaryWithHttpInfo(binaryId); + public File downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + ApiResponse localVarResp = downloadZippedBinaryWithHttpInfo(binaryId); return localVarResp.getData(); } @@ -171,19 +173,19 @@ public Object downloadZippedBinary(@javax.annotation.Nonnull Integer binaryId) t * Downloads a zipped binary with password protection * * @param binaryId (required) - * @return ApiResponse<Object> + * @return ApiResponse<File> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details - +
Response Details
Status Code Description Response Headers
200 Successful Response -
200 Download file -
422 Invalid request parameters -
*/ - public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { + public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.Nonnull Integer binaryId) throws ApiException { okhttp3.Call localVarCall = downloadZippedBinaryValidateBeforeCall(binaryId, null); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -198,14 +200,14 @@ public ApiResponse downloadZippedBinaryWithHttpInfo(@javax.annotation.No - +
Response Details
Status Code Description Response Headers
200 Successful Response -
200 Download file -
422 Invalid request parameters -
*/ - public okhttp3.Call downloadZippedBinaryAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call downloadZippedBinaryAsync(@javax.annotation.Nonnull Integer binaryId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = downloadZippedBinaryValidateBeforeCall(binaryId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); + Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } diff --git a/src/main/java/ai/reveng/invoker/ApiClient.java b/src/main/java/ai/reveng/invoker/ApiClient.java index 91d73ee..ac8ca6a 100644 --- a/src/main/java/ai/reveng/invoker/ApiClient.java +++ b/src/main/java/ai/reveng/invoker/ApiClient.java @@ -146,7 +146,7 @@ protected void init() { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/2.86.0/java"); + setUserAgent("OpenAPI-Generator/2.88.3/java"); authentications = new HashMap(); } diff --git a/src/main/java/ai/reveng/invoker/Configuration.java b/src/main/java/ai/reveng/invoker/Configuration.java index a488f89..3f5f5eb 100644 --- a/src/main/java/ai/reveng/invoker/Configuration.java +++ b/src/main/java/ai/reveng/invoker/Configuration.java @@ -18,7 +18,7 @@ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Configuration { - public static final String VERSION = "2.86.0"; + public static final String VERSION = "2.88.3"; private static final AtomicReference defaultApiClient = new AtomicReference<>(); private static volatile Supplier apiClientFactory = ApiClient::new; diff --git a/src/test/java/ai/reveng/api/BinariesApiTest.java b/src/test/java/ai/reveng/api/BinariesApiTest.java index a96912a..4cb74e4 100644 --- a/src/test/java/ai/reveng/api/BinariesApiTest.java +++ b/src/test/java/ai/reveng/api/BinariesApiTest.java @@ -21,6 +21,7 @@ import ai.reveng.model.BaseResponseBinaryExternalsResponse; import ai.reveng.model.BaseResponseChildBinariesResponse; import ai.reveng.model.BaseResponseListDieMatch; +import java.io.File; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -45,7 +46,7 @@ public class BinariesApiTest { @Test public void downloadZippedBinaryTest() throws ApiException { Integer binaryId = null; - Object response = api.downloadZippedBinary(binaryId); + File response = api.downloadZippedBinary(binaryId); // TODO: test validations }