Skip to content

Commit 83d1deb

Browse files
chore: 🐝 Update SDK - Generate SDK 2.4.0
1 parent 599be17 commit 83d1deb

File tree

377 files changed

+2430
-2631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+2430
-2631
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119
33
management:
44
docChecksum: 5cb4916add1fc5d533f4ad998ee95760
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.570.2
7-
generationVersion: 2.638.5
8-
releaseVersion: 2.3.1
9-
configChecksum: 102610326f1ca505abd7e4639a0a98c0
6+
speakeasyVersion: 1.575.5
7+
generationVersion: 2.648.7
8+
releaseVersion: 2.4.0
9+
configChecksum: 169d0d2cec3dabc077c6d4083c6ba57b
1010
repoURL: https://github.com/gr4vy/gr4vy-java.git
1111
published: true
1212
features:
1313
java:
1414
additionalDependencies: 0.1.0
1515
constsAndDefaults: 0.1.1
16-
core: 3.39.1
16+
core: 3.42.3
1717
flattening: 2.81.1
1818
globalSecurity: 2.82.8
1919
globalSecurityCallbacks: 0.1.0

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ generation:
2222
generateNewTests: false
2323
skipResponseBodyAssertions: false
2424
java:
25-
version: 2.3.1
25+
version: 2.4.0
2626
additionalDependencies:
2727
- testImplementation:org.junit.jupiter:junit-jupiter:5.10.0
2828
- implementation:com.auth0:java-jwt:4.5.0

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.570.2
1+
speakeasyVersion: 1.575.5
22
sources:
33
Gr4vy:
44
sourceNamespace: openapi
@@ -9,11 +9,11 @@ sources:
99
- 1.0.0
1010
openapi:
1111
sourceNamespace: openapi
12-
sourceRevisionDigest: sha256:9b35f07213e983caf55f1761e9574a09bc05e1734ef257b36c4b81a4ba97f359
13-
sourceBlobDigest: sha256:d3695752c36a9d4394711776ac70e4194e678ebefda6fc24f1e99ac52791e75e
12+
sourceRevisionDigest: sha256:4e54afd0836439aee835794e0ea90cf528af5af2ddbeb1eda3be8837ac401326
13+
sourceBlobDigest: sha256:8eacbe752c2eb8f40cf6412ce826bf979fe544606f4d9f27c685dabdbfd99b9e
1414
tags:
1515
- latest
16-
- speakeasy-sdk-regen-1751549987
16+
- speakeasy-sdk-regen-1751649756
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:9b35f07213e983caf55f1761e9574a09bc05e1734ef257b36c4b81a4ba97f359
30-
sourceBlobDigest: sha256:d3695752c36a9d4394711776ac70e4194e678ebefda6fc24f1e99ac52791e75e
29+
sourceRevisionDigest: sha256:4e54afd0836439aee835794e0ea90cf528af5af2ddbeb1eda3be8837ac401326
30+
sourceBlobDigest: sha256:8eacbe752c2eb8f40cf6412ce826bf979fe544606f4d9f27c685dabdbfd99b9e
3131
codeSamplesNamespace: openapi-java-code-samples
32-
codeSamplesRevisionDigest: sha256:d26445a96857514c63213eafacf3563cd633f05c870841c97e1e71ef48eee008
32+
codeSamplesRevisionDigest: sha256:27695de4e3cc16a85aeab628cf77aa566abe72938a80d37d7565b2c0a13bba58
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
@@ -55,15 +55,15 @@ The samples below show how a published SDK artifact is used:
5555

5656
Gradle:
5757
```groovy
58-
implementation 'com.gr4vy:sdk:2.3.1'
58+
implementation 'com.gr4vy:sdk:2.4.0'
5959
```
6060

6161
Maven:
6262
```xml
6363
<dependency>
6464
<groupId>com.gr4vy</groupId>
6565
<artifactId>sdk</artifactId>
66-
<version>2.3.1</version>
66+
<version>2.4.0</version>
6767
</dependency>
6868
```
6969

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [java v2.3.1] .
190190
### Releases
191-
- [Maven Central v2.3.1] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.3.1 - .
191+
- [Maven Central v2.3.1] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.3.1 - .
192+
193+
## 2025-07-04 17:22:20
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.575.5 (2.648.7) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [java v2.4.0] .
200+
### Releases
201+
- [Maven Central v2.4.0] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.4.0 - .

build.gradle

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ repositories {
2727
}
2828

2929
java {
30-
sourceCompatibility = JavaVersion.VERSION_11
31-
targetCompatibility = JavaVersion.VERSION_11
3230
withSourcesJar()
3331
withJavadocJar()
3432
}
@@ -65,6 +63,10 @@ tasks.withType(Javadoc) {
6563
options.addStringOption('Xdoclint:none', '-quiet')
6664
}
6765

66+
tasks.withType(JavaCompile).configureEach {
67+
options.release = 11
68+
}
69+
6870
sourcesJar {
6971
archiveBaseName = "${artifactId}"
7072
}
@@ -103,11 +105,15 @@ publishing {
103105
// https://github.com/gradle/gradle/issues/18619
104106
groupId = "com.gr4vy"
105107
artifactId = "sdk"
106-
version = "2.3.1"
108+
version = "2.4.0"
107109

108110
from components.java
109111

110112
pom {
113+
properties = [
114+
'maven.compiler.source': '11',
115+
'maven.compiler.target': '11',
116+
]
111117
name = 'Gr4vy Java SDK'
112118
description = 'SDK enabling Java developers to easily integrate with the Gr4vy API.'
113119
url = 'https://github.com/gr4vy/gr4vy-java'
@@ -163,4 +169,4 @@ dependencies {
163169
implementation 'com.jayway.jsonpath:json-path:2.9.0'
164170
}
165171

166-
apply from: 'build-extras.gradle'
172+
apply from: 'build-extras.gradle'

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=2.3.1
3+
version=2.4.0

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,14 @@ public Builder retryConfig(RetryConfig retryConfig) {
254254
/**
255255
* Enables debug logging for HTTP requests and responses, including JSON body content.
256256
*
257-
* Convenience method that calls {@link HTTPClient#enableDebugging(boolean)}.
257+
* Convenience method that calls {@link HTTPClient#enableDebugLogging(boolean)}.
258258
* {@link SpeakeasyHTTPClient} honors this setting. If you are using a custom HTTP client,
259259
* it is up to the custom client to honor this setting.
260260
*
261261
* @return The builder instance.
262262
*/
263263
public Builder enableHTTPDebugLogging(boolean enabled) {
264-
this.sdkConfiguration.client().enableDebugging(enabled);
264+
this.sdkConfiguration.client().enableDebugLogging(enabled);
265265
return this;
266266
}
267267

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 = "2.3.1";
23-
public static final String GEN_VERSION = "2.638.5";
22+
public static final String SDK_VERSION = "2.4.0";
23+
public static final String GEN_VERSION = "2.648.7";
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/components/AccountUpdaterInquirySummary.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import com.gr4vy.sdk.utils.Utils;
1414
import java.lang.Override;
1515
import java.lang.String;
16-
import java.util.Objects;
1716
import java.util.Optional;
1817

1918
public class AccountUpdaterInquirySummary {
@@ -105,14 +104,14 @@ public boolean equals(java.lang.Object o) {
105104
}
106105
AccountUpdaterInquirySummary other = (AccountUpdaterInquirySummary) o;
107106
return
108-
Objects.deepEquals(this.type, other.type) &&
109-
Objects.deepEquals(this.id, other.id) &&
110-
Objects.deepEquals(this.paymentMethodId, other.paymentMethodId);
107+
Utils.enhancedDeepEquals(this.type, other.type) &&
108+
Utils.enhancedDeepEquals(this.id, other.id) &&
109+
Utils.enhancedDeepEquals(this.paymentMethodId, other.paymentMethodId);
111110
}
112111

113112
@Override
114113
public int hashCode() {
115-
return Objects.hash(
114+
return Utils.enhancedHash(
116115
type,
117116
id,
118117
paymentMethodId);

0 commit comments

Comments
 (0)