File tree Expand file tree Collapse file tree 9 files changed +34
-18
lines changed
src/main/java/com/gr4vy/sdk Expand file tree Collapse file tree 9 files changed +34
-18
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119
3
3
management:
4
4
docChecksum: ab8b8ca9248dacf6627d77256fd8d94b
5
5
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
10
10
repoURL: https://github.com/gr4vy/gr4vy-java.git
11
11
published: true
12
12
features:
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ generation:
18
18
oAuth2PasswordEnabled : false
19
19
sdkHooksConfigAccess : true
20
20
java :
21
- version : 1.0.0-beta.15
21
+ version : 1.0.0
22
22
additionalDependencies :
23
23
- testImplementation:org.junit.jupiter:junit-jupiter:5.10.0
24
24
- implementation:com.auth0:java-jwt:4.5.0
Original file line number Diff line number Diff line change 1
- speakeasyVersion: 1.563.1
1
+ speakeasyVersion: 1.567.3
2
2
sources:
3
3
Gr4vy:
4
4
sourceNamespace: openapi
@@ -9,11 +9,11 @@ sources:
9
9
- 1.0.0
10
10
openapi:
11
11
sourceNamespace: openapi
12
- sourceRevisionDigest: sha256:0b486e156152805e021d6a9da2dc045582a9d380bbaab5b83012995d35d61573
12
+ sourceRevisionDigest: sha256:2dfa87c24696b900d2f7dc7560406fed474fcda88aa0f5eb923ba4ec90b5197b
13
13
sourceBlobDigest: sha256:5f3a7d451428b7c636172d3d1e73557d3733bf5240a7ec1d37aa0015d30cccfc
14
14
tags:
15
15
- latest
16
- - speakeasy-sdk-regen-1750070689
16
+ - speakeasy-sdk-regen-1750430231
17
17
- 1.0.0
18
18
targets:
19
19
gr-4-vy:
@@ -26,10 +26,10 @@ targets:
26
26
java:
27
27
source: openapi
28
28
sourceNamespace: openapi
29
- sourceRevisionDigest: sha256:0b486e156152805e021d6a9da2dc045582a9d380bbaab5b83012995d35d61573
29
+ sourceRevisionDigest: sha256:2dfa87c24696b900d2f7dc7560406fed474fcda88aa0f5eb923ba4ec90b5197b
30
30
sourceBlobDigest: sha256:5f3a7d451428b7c636172d3d1e73557d3733bf5240a7ec1d37aa0015d30cccfc
31
31
codeSamplesNamespace: openapi-java-code-samples
32
- codeSamplesRevisionDigest: sha256:87567d6ea714c935bd35b0543378e6948c17f366e8915ca7932bf8a93539bc73
32
+ codeSamplesRevisionDigest: sha256:82bd9358ffa1e6f49dc7b98cf1255c78aa58c5dea93c6382000090656216ad33
33
33
workflow:
34
34
workflowVersion: 1.0.0
35
35
speakeasyVersion: latest
Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ The samples below show how a published SDK artifact is used:
60
60
61
61
Gradle:
62
62
``` groovy
63
- implementation 'com.gr4vy:sdk:1.0.0-beta.15 '
63
+ implementation 'com.gr4vy:sdk:1.0.0'
64
64
```
65
65
66
66
Maven:
67
67
``` xml
68
68
<dependency >
69
69
<groupId >com.gr4vy</groupId >
70
70
<artifactId >sdk</artifactId >
71
- <version >1.0.0-beta.15 </version >
71
+ <version >1.0.0</version >
72
72
</dependency >
73
73
```
74
74
Original file line number Diff line number Diff line change @@ -138,4 +138,14 @@ Based on:
138
138
### Generated
139
139
- [ java v1.0.0-beta.15] .
140
140
### 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 - .
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ publishing {
103
103
// https://github.com/gradle/gradle/issues/18619
104
104
groupId = " com.gr4vy"
105
105
artifactId = " sdk"
106
- version = " 1.0.0-beta.15 "
106
+ version = " 1.0.0"
107
107
108
108
from components. java
109
109
Original file line number Diff line number Diff line change 1
1
groupId =com.gr4vy
2
2
artifactId =sdk
3
- version =1.0.0-beta.15
3
+ version =1.0.0
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ public class SDKConfiguration {
19
19
20
20
private static final String LANGUAGE = "java" ;
21
21
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 " ;
24
24
private static final String BASE_PACKAGE = "com.gr4vy.sdk" ;
25
25
public static final String USER_AGENT =
26
26
String .format ("speakeasy-sdk/%s %s %s %s %s" ,
Original file line number Diff line number Diff line change 5
5
6
6
import java .net .http .HttpResponse ;
7
7
import java .io .InputStream ;
8
+ import java .nio .charset .StandardCharsets ;
8
9
import com .gr4vy .sdk .utils .Utils ;
9
10
10
11
/**
@@ -23,6 +24,7 @@ public APIException(
23
24
int code ,
24
25
String message ,
25
26
byte [] body ) {
27
+ super (message );
26
28
Utils .checkNotNull (rawResponse , "rawResponse" );
27
29
Utils .checkNotNull (message , "message" );
28
30
Utils .checkNotNull (body , "body" );
@@ -81,4 +83,8 @@ public String message() {
81
83
public byte [] body () {
82
84
return this .body ;
83
85
}
84
- }
86
+
87
+ public String bodyAsString () {
88
+ return new String (body (), StandardCharsets .UTF_8 );
89
+ }
90
+ }
You can’t perform that action at this time.
0 commit comments