Skip to content

chore: 🐝 Update SDK - Generate 0.4.0 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
31 changes: 16 additions & 15 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ id: f42d74f5-5725-46fa-b13c-649b7ef895c3
management:
docChecksum: 32687d9ba29da014326cc097fdfff59d
docVersion: 1.0.0
speakeasyVersion: 1.583.0
generationVersion: 2.658.3
releaseVersion: 0.3.0
configChecksum: 04772eab57280291f66f591afacc7c70
speakeasyVersion: 1.603.2
generationVersion: 2.681.8
releaseVersion: 0.4.0
configChecksum: 64280e9b75ae7cae2bf294597c2b036a
repoURL: https://github.com/VantaInc/vanta-auditor-api-sdk-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.44.0
core: 3.45.3
flattening: 2.81.1
globalSecurity: 2.83.0
globalSecurityCallbacks: 0.1.0
Expand Down Expand Up @@ -177,17 +177,17 @@ generatedFiles:
- src/main/java/com/vanta/vanta_auditor_api/models/operations/UpdateAuditEvidenceRequest.java
- src/main/java/com/vanta/vanta_auditor_api/models/operations/UpdateAuditEvidenceRequestBuilder.java
- src/main/java/com/vanta/vanta_auditor_api/models/operations/UpdateAuditEvidenceResponse.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateAuditorOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateCommentForAuditEvidenceOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateCustomControlOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateCustomEvidenceRequestOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditCommentsOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditControlsOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditEvidenceOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditEvidenceUrlsOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditsOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateAuditor.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateCommentForAuditEvidence.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateCustomControl.java
- src/main/java/com/vanta/vanta_auditor_api/operations/CreateCustomEvidenceRequest.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditComments.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditControls.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditEvidence.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAuditEvidenceUrls.java
- src/main/java/com/vanta/vanta_auditor_api/operations/ListAudits.java
- src/main/java/com/vanta/vanta_auditor_api/operations/Operations.java
- src/main/java/com/vanta/vanta_auditor_api/operations/UpdateAuditEvidenceOperation.java
- src/main/java/com/vanta/vanta_auditor_api/operations/UpdateAuditEvidence.java
- src/main/java/com/vanta/vanta_auditor_api/utils/BackoffStrategy.java
- src/main/java/com/vanta/vanta_auditor_api/utils/BigDecimalString.java
- src/main/java/com/vanta/vanta_auditor_api/utils/BigIntegerString.java
Expand Down Expand Up @@ -225,6 +225,7 @@ generatedFiles:
- src/main/java/com/vanta/vanta_auditor_api/utils/RequestBody.java
- src/main/java/com/vanta/vanta_auditor_api/utils/RequestMetadata.java
- src/main/java/com/vanta/vanta_auditor_api/utils/Response.java
- src/main/java/com/vanta/vanta_auditor_api/utils/ResponseWithBody.java
- src/main/java/com/vanta/vanta_auditor_api/utils/Retries.java
- src/main/java/com/vanta/vanta_auditor_api/utils/RetryConfig.java
- src/main/java/com/vanta/vanta_auditor_api/utils/Security.java
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.3.0
version: 0.4.0
additionalDependencies: []
additionalPlugins: []
artifactID: vanta-auditor-api
Expand Down
6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.583.0
speakeasyVersion: 1.603.2
sources:
Conduct an audit:
sourceNamespace: conduct-an-audit
sourceRevisionDigest: sha256:234b914b23cf5d74d33cd7077560a45c8cba13a211f3bd8344041648d8733c2d
sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b
tags:
- latest
- speakeasy-sdk-regen-1752711959
- speakeasy-sdk-regen-1754439995
- 1.0.0
targets:
vanta:
Expand All @@ -15,7 +15,7 @@ targets:
sourceRevisionDigest: sha256:234b914b23cf5d74d33cd7077560a45c8cba13a211f3bd8344041648d8733c2d
sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b
codeSamplesNamespace: conduct-an-audit-java-code-samples
codeSamplesRevisionDigest: sha256:c37b408b3f4e67573812e3180585ed44685609283ecc89a119faafece26cadcc
codeSamplesRevisionDigest: sha256:8978f388ac1114cfcdd1b15a7fbf455f865fae74b8d45d74f145f7e4a350450b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.vanta:vanta-auditor-api:0.3.0'
implementation 'com.vanta:vanta-auditor-api:0.4.0'
```

Maven:
```xml
<dependency>
<groupId>com.vanta</groupId>
<artifactId>vanta-auditor-api</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,14 @@ Based on:
### Generated
- [java v0.3.0] .
### Releases
- [Maven Central v0.3.0] https://central.sonatype.com/artifact/com.vanta/vanta-auditor-api/0.3.0 - .
- [Maven Central v0.3.0] https://central.sonatype.com/artifact/com.vanta/vanta-auditor-api/0.3.0 - .

## 2025-08-14 00:24:14
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.603.2 (2.681.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.4.0] .
### Releases
- [Maven Central v0.4.0] https://central.sonatype.com/artifact/com.vanta/vanta-auditor-api/0.4.0 - .
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ javadoc {
}

tasks.withType(Javadoc) {
failOnError false
failOnError = false
options.addStringOption('Xdoclint:none', '-quiet')
}

Expand Down Expand Up @@ -105,7 +105,7 @@ publishing {
// https://github.com/gradle/gradle/issues/18619
groupId = "com.vanta"
artifactId = "vanta-auditor-api"
version = "0.3.0"
version = "0.4.0"

from components.java

Expand Down
1 change: 1 addition & 0 deletions docs/sdks/auditors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Create an auditor in Vanta.

### Example Usage

<!-- UsageSnippet language="java" operationID="CreateAuditor" method="post" path="/auditors" -->
```java
package hello.world;

Expand Down
9 changes: 9 additions & 0 deletions docs/sdks/audits/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Returns a paginated list of audits scoped to the audit firm.

### Example Usage

<!-- UsageSnippet language="java" operationID="ListAudits" method="get" path="/audits" -->
```java
package hello.world;

Expand Down Expand Up @@ -73,6 +74,7 @@ evidence is created or has a statusUpdatedAt field that is more recent than the

### Example Usage

<!-- UsageSnippet language="java" operationID="ListAuditEvidenceUrls" method="get" path="/audits/{auditId}/evidence/{auditEvidenceId}/urls" -->
```java
package hello.world;

Expand Down Expand Up @@ -126,6 +128,7 @@ Returns a paginated list of evidence for an audit.

### Example Usage

<!-- UsageSnippet language="java" operationID="ListAuditEvidence" method="get" path="/audits/{auditId}/evidence" -->
```java
package hello.world;

Expand Down Expand Up @@ -178,6 +181,7 @@ Returns a paginated list of comments for an audit.

### Example Usage

<!-- UsageSnippet language="java" operationID="ListAuditComments" method="get" path="/audits/{auditId}/comments" -->
```java
package hello.world;

Expand Down Expand Up @@ -230,6 +234,7 @@ Returns a paginated list of controls for an audit.

### Example Usage

<!-- UsageSnippet language="java" operationID="ListAuditControls" method="get" path="/audits/{auditId}/controls" -->
```java
package hello.world;

Expand Down Expand Up @@ -281,6 +286,7 @@ Create a comment in Vanta for a piece of evidence.

### Example Usage

<!-- UsageSnippet language="java" operationID="CreateCommentForAuditEvidence" method="post" path="/audits/{auditId}/evidence/{auditEvidenceId}/comments" -->
```java
package hello.world;

Expand Down Expand Up @@ -339,6 +345,7 @@ Update audit evidence.

### Example Usage

<!-- UsageSnippet language="java" operationID="UpdateAuditEvidence" method="patch" path="/audits/{auditId}/evidence/{auditEvidenceId}" -->
```java
package hello.world;

Expand Down Expand Up @@ -393,6 +400,7 @@ Create a custom evidence request for an audit.

### Example Usage

<!-- UsageSnippet language="java" operationID="CreateCustomEvidenceRequest" method="post" path="/audits/{auditId}/evidence/custom-evidence-requests" -->
```java
package hello.world;

Expand Down Expand Up @@ -456,6 +464,7 @@ Create a custom control for an audit.

### Example Usage

<!-- UsageSnippet language="java" operationID="CreateCustomControl" method="post" path="/audits/{auditId}/controls/custom-controls" -->
```java
package hello.world;

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
groupId=com.vanta
artifactId=vanta-auditor-api
version=0.3.0
version=0.4.0
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
12 changes: 7 additions & 5 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -84,7 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -112,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
CLASSPATH="\\\"\\\""


# Determine the Java command to use to start the JVM.
Expand Down Expand Up @@ -203,15 +205,15 @@ fi
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@"

# Stop when "xargs" is not available.
Expand Down
26 changes: 14 additions & 12 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down Expand Up @@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,22 +59,22 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
set CLASSPATH=


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*

:end
@rem End local scope for the variables with windows NT shell
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/vanta/vanta_auditor_api/Auditors.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import com.vanta.vanta_auditor_api.models.components.AddAuditorInput;
import com.vanta.vanta_auditor_api.models.operations.CreateAuditorRequestBuilder;
import com.vanta.vanta_auditor_api.models.operations.CreateAuditorResponse;
import com.vanta.vanta_auditor_api.operations.CreateAuditorOperation;
import com.vanta.vanta_auditor_api.operations.CreateAuditor;
import java.lang.Exception;


Expand Down Expand Up @@ -41,7 +41,7 @@ public CreateAuditorRequestBuilder create() {
*/
public CreateAuditorResponse create(AddAuditorInput request) throws Exception {
RequestOperation<AddAuditorInput, CreateAuditorResponse> operation
= new CreateAuditorOperation(sdkConfiguration);
= new CreateAuditor.Sync(sdkConfiguration);
return operation.handleResponse(operation.doRequest(request));
}

Expand Down
Loading