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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ jobs:
rm -Rf settings.gradle && mv java-client/settings.gradle .
rm -Rf README.md && mv java-client/README.md .
rm -Rf java-client

# Move custom models
cp models/* src/main/java/ai/reveng/model/

# Store the SDK version
echo ${{ steps.version_check.outputs.openapi_version }} > .sdk-version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: ./gradlew test

- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
Expand Down
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.94.0
v1.95.0
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>v1.94.0</version>
<version>v1.95.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:v1.94.0"
implementation "ai.reveng:sdk:v1.95.0"
}
```

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 = 'v1.94.0'
version = 'v1.95.0'



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

coordinates("ai.reveng", "sdk", "v1.94.0")
coordinates("ai.reveng", "sdk", "v1.95.0")

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 := "v1.94.0",
version := "v1.95.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
24 changes: 8 additions & 16 deletions docs/AnalysesCommentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ All URIs are relative to *https://api.reveng.ai*

<a id="createAnalysisComment"></a>
# **createAnalysisComment**
> BaseResponseCommentResponse createAnalysisComment(analysisId, commentBase, authorization)
> BaseResponseCommentResponse createAnalysisComment(analysisId, commentBase)

Create a comment for this analysis

Expand Down Expand Up @@ -42,9 +42,8 @@ public class Example {
AnalysesCommentsApi apiInstance = new AnalysesCommentsApi(defaultClient);
Integer analysisId = 56; // Integer |
CommentBase commentBase = new CommentBase(); // CommentBase |
String authorization = "authorization_example"; // String | API Key bearer token
try {
BaseResponseCommentResponse result = apiInstance.createAnalysisComment(analysisId, commentBase, authorization);
BaseResponseCommentResponse result = apiInstance.createAnalysisComment(analysisId, commentBase);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCommentsApi#createAnalysisComment");
Expand All @@ -63,7 +62,6 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Integer**| | |
| **commentBase** | [**CommentBase**](CommentBase.md)| | |
| **authorization** | **String**| API Key bearer token | [optional] |

### Return type

Expand All @@ -87,7 +85,7 @@ public class Example {

<a id="deleteAnalysisComment"></a>
# **deleteAnalysisComment**
> BaseResponseBool deleteAnalysisComment(commentId, analysisId, authorization)
> BaseResponseBool deleteAnalysisComment(commentId, analysisId)

Delete a comment

Expand Down Expand Up @@ -117,9 +115,8 @@ public class Example {
AnalysesCommentsApi apiInstance = new AnalysesCommentsApi(defaultClient);
Integer commentId = 56; // Integer |
Integer analysisId = 56; // Integer |
String authorization = "authorization_example"; // String | API Key bearer token
try {
BaseResponseBool result = apiInstance.deleteAnalysisComment(commentId, analysisId, authorization);
BaseResponseBool result = apiInstance.deleteAnalysisComment(commentId, analysisId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCommentsApi#deleteAnalysisComment");
Expand All @@ -138,7 +135,6 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **commentId** | **Integer**| | |
| **analysisId** | **Integer**| | |
| **authorization** | **String**| API Key bearer token | [optional] |

### Return type

Expand All @@ -163,7 +159,7 @@ public class Example {

<a id="getAnalysisComments"></a>
# **getAnalysisComments**
> BaseResponseListCommentResponse getAnalysisComments(analysisId, authorization)
> BaseResponseListCommentResponse getAnalysisComments(analysisId)

Get comments for this analysis

Expand Down Expand Up @@ -192,9 +188,8 @@ public class Example {

AnalysesCommentsApi apiInstance = new AnalysesCommentsApi(defaultClient);
Integer analysisId = 56; // Integer |
String authorization = "authorization_example"; // String | API Key bearer token
try {
BaseResponseListCommentResponse result = apiInstance.getAnalysisComments(analysisId, authorization);
BaseResponseListCommentResponse result = apiInstance.getAnalysisComments(analysisId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCommentsApi#getAnalysisComments");
Expand All @@ -212,7 +207,6 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Integer**| | |
| **authorization** | **String**| API Key bearer token | [optional] |

### Return type

Expand All @@ -235,7 +229,7 @@ public class Example {

<a id="updateAnalysisComment"></a>
# **updateAnalysisComment**
> BaseResponseCommentResponse updateAnalysisComment(commentId, analysisId, commentUpdateRequest, authorization)
> BaseResponseCommentResponse updateAnalysisComment(commentId, analysisId, commentUpdateRequest)

Update a comment

Expand Down Expand Up @@ -266,9 +260,8 @@ public class Example {
Integer commentId = 56; // Integer |
Integer analysisId = 56; // Integer |
CommentUpdateRequest commentUpdateRequest = new CommentUpdateRequest(); // CommentUpdateRequest |
String authorization = "authorization_example"; // String | API Key bearer token
try {
BaseResponseCommentResponse result = apiInstance.updateAnalysisComment(commentId, analysisId, commentUpdateRequest, authorization);
BaseResponseCommentResponse result = apiInstance.updateAnalysisComment(commentId, analysisId, commentUpdateRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesCommentsApi#updateAnalysisComment");
Expand All @@ -288,7 +281,6 @@ public class Example {
| **commentId** | **Integer**| | |
| **analysisId** | **Integer**| | |
| **commentUpdateRequest** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| | |
| **authorization** | **String**| API Key bearer token | [optional] |

### Return type

Expand Down
Loading