Skip to content

Commit 27d394d

Browse files
chore: 🐝 Update SDK - Generate SDK 1.0.0
1 parent 2a704db commit 27d394d

File tree

9 files changed

+34
-18
lines changed

9 files changed

+34
-18
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119
33
management:
44
docChecksum: ab8b8ca9248dacf6627d77256fd8d94b
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.563.1
7-
generationVersion: 2.629.1
8-
releaseVersion: 1.0.0-beta.15
9-
configChecksum: bd4010337728c47e3fa6b1226ea3bcfe
6+
speakeasyVersion: 1.567.3
7+
generationVersion: 2.632.2
8+
releaseVersion: 1.0.0
9+
configChecksum: a94f082260d35e87db6f278f1fb8f257
1010
repoURL: https://github.com/gr4vy/gr4vy-java.git
1111
published: true
1212
features:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2PasswordEnabled: false
1919
sdkHooksConfigAccess: true
2020
java:
21-
version: 1.0.0-beta.15
21+
version: 1.0.0
2222
additionalDependencies:
2323
- testImplementation:org.junit.jupiter:junit-jupiter:5.10.0
2424
- implementation:com.auth0:java-jwt:4.5.0

.speakeasy/workflow.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.563.1
1+
speakeasyVersion: 1.567.3
22
sources:
33
Gr4vy:
44
sourceNamespace: openapi
@@ -9,11 +9,11 @@ sources:
99
- 1.0.0
1010
openapi:
1111
sourceNamespace: openapi
12-
sourceRevisionDigest: sha256:0b486e156152805e021d6a9da2dc045582a9d380bbaab5b83012995d35d61573
12+
sourceRevisionDigest: sha256:2dfa87c24696b900d2f7dc7560406fed474fcda88aa0f5eb923ba4ec90b5197b
1313
sourceBlobDigest: sha256:5f3a7d451428b7c636172d3d1e73557d3733bf5240a7ec1d37aa0015d30cccfc
1414
tags:
1515
- latest
16-
- speakeasy-sdk-regen-1750070689
16+
- speakeasy-sdk-regen-1750430231
1717
- 1.0.0
1818
targets:
1919
gr-4-vy:
@@ -26,10 +26,10 @@ targets:
2626
java:
2727
source: openapi
2828
sourceNamespace: openapi
29-
sourceRevisionDigest: sha256:0b486e156152805e021d6a9da2dc045582a9d380bbaab5b83012995d35d61573
29+
sourceRevisionDigest: sha256:2dfa87c24696b900d2f7dc7560406fed474fcda88aa0f5eb923ba4ec90b5197b
3030
sourceBlobDigest: sha256:5f3a7d451428b7c636172d3d1e73557d3733bf5240a7ec1d37aa0015d30cccfc
3131
codeSamplesNamespace: openapi-java-code-samples
32-
codeSamplesRevisionDigest: sha256:87567d6ea714c935bd35b0543378e6948c17f366e8915ca7932bf8a93539bc73
32+
codeSamplesRevisionDigest: sha256:82bd9358ffa1e6f49dc7b98cf1255c78aa58c5dea93c6382000090656216ad33
3333
workflow:
3434
workflowVersion: 1.0.0
3535
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ The samples below show how a published SDK artifact is used:
6060

6161
Gradle:
6262
```groovy
63-
implementation 'com.gr4vy:sdk:1.0.0-beta.15'
63+
implementation 'com.gr4vy:sdk:1.0.0'
6464
```
6565

6666
Maven:
6767
```xml
6868
<dependency>
6969
<groupId>com.gr4vy</groupId>
7070
<artifactId>sdk</artifactId>
71-
<version>1.0.0-beta.15</version>
71+
<version>1.0.0</version>
7272
</dependency>
7373
```
7474

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,14 @@ Based on:
138138
### Generated
139139
- [java v1.0.0-beta.15] .
140140
### Releases
141-
- [Maven Central v1.0.0-beta.15] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.15 - .
141+
- [Maven Central v1.0.0-beta.15] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0-beta.15 - .
142+
143+
## 2025-06-20 14:36:53
144+
### Changes
145+
Based on:
146+
- OpenAPI Doc
147+
- Speakeasy CLI 1.567.3 (2.632.2) https://github.com/speakeasy-api/speakeasy
148+
### Generated
149+
- [java v1.0.0] .
150+
### Releases
151+
- [Maven Central v1.0.0] https://central.sonatype.com/artifact/com.gr4vy/sdk/1.0.0 - .

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ publishing {
103103
// https://github.com/gradle/gradle/issues/18619
104104
groupId = "com.gr4vy"
105105
artifactId = "sdk"
106-
version = "1.0.0-beta.15"
106+
version = "1.0.0"
107107

108108
from components.java
109109

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
groupId=com.gr4vy
22
artifactId=sdk
3-
version=1.0.0-beta.15
3+
version=1.0.0

src/main/java/com/gr4vy/sdk/SDKConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public class SDKConfiguration {
1919

2020
private static final String LANGUAGE = "java";
2121
public static final String OPENAPI_DOC_VERSION = "1.0.0";
22-
public static final String SDK_VERSION = "1.0.0-beta.15";
23-
public static final String GEN_VERSION = "2.629.1";
22+
public static final String SDK_VERSION = "1.0.0";
23+
public static final String GEN_VERSION = "2.632.2";
2424
private static final String BASE_PACKAGE = "com.gr4vy.sdk";
2525
public static final String USER_AGENT =
2626
String.format("speakeasy-sdk/%s %s %s %s %s",

src/main/java/com/gr4vy/sdk/models/errors/APIException.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import java.net.http.HttpResponse;
77
import java.io.InputStream;
8+
import java.nio.charset.StandardCharsets;
89
import com.gr4vy.sdk.utils.Utils;
910

1011
/**
@@ -23,6 +24,7 @@ public APIException(
2324
int code,
2425
String message,
2526
byte[] body) {
27+
super(message);
2628
Utils.checkNotNull(rawResponse, "rawResponse");
2729
Utils.checkNotNull(message, "message");
2830
Utils.checkNotNull(body, "body");
@@ -81,4 +83,8 @@ public String message() {
8183
public byte[] body() {
8284
return this.body;
8385
}
84-
}
86+
87+
public String bodyAsString() {
88+
return new String(body(), StandardCharsets.UTF_8);
89+
}
90+
}

0 commit comments

Comments
 (0)