Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.9.0
v2.9.1
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>ai.reveng</groupId>
<artifactId>sdk</artifactId>
<version>2.9.0</version>
<version>2.9.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:2.9.0"
implementation "ai.reveng:sdk:2.9.1"
}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'ai.reveng'
version = '2.9.0'
version = '2.9.1'



Expand Down Expand Up @@ -171,7 +171,7 @@ mavenPublishing {
publishToMavenCentral(true)
signAllPublications()

coordinates("ai.reveng", "sdk", "2.9.0")
coordinates("ai.reveng", "sdk", "2.9.1")

pom {
name = "sdk"
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "ai.reveng",
name := "sdk",
version := "2.9.0",
version := "2.9.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
20 changes: 10 additions & 10 deletions docs/FunctionsAiDecompilationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public class Example {
//APIKey.setApiKeyPrefix("Token");

FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient);
Integer functionId = 56; // Integer |
Long functionId = 56L; // Long | The ID of the function for which we are creating the decompilation task
try {
BaseResponse result = apiInstance.createAiDecompilationTask(functionId);
System.out.println(result);
Expand All @@ -137,7 +137,7 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **functionId** | **Integer**| | |
| **functionId** | **Long**| The ID of the function for which we are creating the decompilation task | |

### Return type

Expand Down Expand Up @@ -334,7 +334,7 @@ public class Example {
//APIKey.setApiKeyPrefix("Token");

FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient);
Integer functionId = 56; // Integer |
Long functionId = 56L; // Long | The ID of the function for which to get the rating
try {
BaseResponseGetAiDecompilationRatingResponse result = apiInstance.getAiDecompilationRating(functionId);
System.out.println(result);
Expand All @@ -353,7 +353,7 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **functionId** | **Integer**| | |
| **functionId** | **Long**| The ID of the function for which to get the rating | |

### Return type

Expand Down Expand Up @@ -404,7 +404,7 @@ public class Example {
//APIKey.setApiKeyPrefix("Token");

FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient);
Integer functionId = 56; // Integer |
Long functionId = 56L; // Long | The ID of the function being decompiled
Boolean summarise = true; // Boolean | Generate a summary for the decompilation
Boolean generateInlineComments = true; // Boolean | Generate inline comments for the decompilation (only works if summarise is enabled)
try {
Expand All @@ -425,7 +425,7 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **functionId** | **Integer**| | |
| **functionId** | **Long**| The ID of the function being decompiled | |
| **summarise** | **Boolean**| Generate a summary for the decompilation | [optional] [default to true] |
| **generateInlineComments** | **Boolean**| Generate inline comments for the decompilation (only works if summarise is enabled) | [optional] [default to true] |

Expand Down Expand Up @@ -477,7 +477,7 @@ public class Example {
//APIKey.setApiKeyPrefix("Token");

FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient);
Integer functionId = 56; // Integer |
Long functionId = 56L; // Long | The ID of the function being checked
try {
BaseResponseFunctionTaskResponse result = apiInstance.getAiDecompilationTaskStatus(functionId);
System.out.println(result);
Expand All @@ -496,7 +496,7 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **functionId** | **Integer**| | |
| **functionId** | **Long**| The ID of the function being checked | |

### Return type

Expand Down Expand Up @@ -621,7 +621,7 @@ public class Example {
//APIKey.setApiKeyPrefix("Token");

FunctionsAiDecompilationApi apiInstance = new FunctionsAiDecompilationApi(defaultClient);
Integer functionId = 56; // Integer |
Long functionId = 56L; // Long | The ID of the function being rated
UpsertAiDecomplationRatingRequest upsertAiDecomplationRatingRequest = new UpsertAiDecomplationRatingRequest(); // UpsertAiDecomplationRatingRequest |
try {
BaseResponse result = apiInstance.upsertAiDecompilationRating(functionId, upsertAiDecomplationRatingRequest);
Expand All @@ -641,7 +641,7 @@ public class Example {

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **functionId** | **Integer**| | |
| **functionId** | **Long**| The ID of the function being rated | |
| **upsertAiDecomplationRatingRequest** | [**UpsertAiDecomplationRatingRequest**](UpsertAiDecomplationRatingRequest.md)| | |

### Return type
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>sdk</artifactId>
<packaging>jar</packaging>
<name>sdk</name>
<version>2.9.0</version>
<version>2.9.1</version>
<url>https://github.com/RevEngAI/sdk-java</url>
<description>Java SDK for the RevEng.AI API</description>
<scm>
Expand Down
Loading