Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.441.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 20, 2024
1 parent e07e9d3 commit 6155329
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 34 deletions.
11 changes: 5 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id: 66f99777-b2f2-4e45-9581-501d199e5c0c
management:
docChecksum: f29435bb099891e387e6c1c61cb02f8c
docVersion: 0.4.0
speakeasyVersion: 1.441.0
generationVersion: 2.460.1
releaseVersion: 7.19.2
configChecksum: c54f3f736cfae30a1e5e98bd9c492fe8
speakeasyVersion: 1.441.1
generationVersion: 2.461.2
releaseVersion: 7.20.0
configChecksum: 323804e3e65ec493bca51eb21d00d75f
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-java.git
repoSubDirectory: .
published: true
features:
java:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
core: 3.32.0
core: 3.32.1
deprecations: 2.81.1
downloadStreams: 0.1.1
examples: 2.81.3
Expand All @@ -29,7 +29,6 @@ features:
sdkHooks: 0.1.0
serverEventsSentinels: 0.2.0
serverIDs: 2.81.1
tests: 0.1.0
generatedFiles:
- .gitattributes
- CONTRIBUTING.md
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.441.0
speakeasyVersion: 1.441.1
sources:
first-source: {}
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:09654734784c94348a0e50bd77c928680e867102d597cfa09045e096a717ddf6
sourceRevisionDigest: sha256:90d3869a7f1503d27a79404a9b3dd443d204913bd5f54c5ac307f13a9a3575d9
sourceBlobDigest: sha256:3a852c07826c5fc0bf4f450222762a1723f9fd43faf32126ffdf193260ff2d12
tags:
- latest
Expand All @@ -12,10 +12,10 @@ targets:
java-target:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:09654734784c94348a0e50bd77c928680e867102d597cfa09045e096a717ddf6
sourceRevisionDigest: sha256:90d3869a7f1503d27a79404a9b3dd443d204913bd5f54c5ac307f13a9a3575d9
sourceBlobDigest: sha256:3a852c07826c5fc0bf4f450222762a1723f9fd43faf32126ffdf193260ff2d12
codeSamplesNamespace: code-samples-java-java-target
codeSamplesRevisionDigest: sha256:75e3cdbf4f073341d31f26715aef232826c4de8b5354e85212a46d6fd0dffca2
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:57136784f7071f80c8a3898578b1e9c695d27fdda54aaf5b89404a2da1886c85
py:
source: first-source
ts:
Expand All @@ -28,7 +28,7 @@ workflow:
inputs:
- location: https://speakeasy.com/openapi.yaml
registry:
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/my-source
location: registry.speakeasyapi.dev/chase-test/chase-test/my-source
targets:
java-target:
target: java
Expand All @@ -43,4 +43,4 @@ workflow:
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/speakeasy-self/speakeasy-self/code-samples-java-java-target
location: registry.speakeasyapi.dev/chase-test/chase-test/my-source-code-samples
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'dev.speakeasyapi:javaclientsdk:7.19.2'
implementation 'dev.speakeasyapi:javaclientsdk:7.20.0'
```

Maven:
```xml
<dependency>
<groupId>dev.speakeasyapi</groupId>
<artifactId>javaclientsdk</artifactId>
<version>7.19.2</version>
<version>7.20.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 @@ -1786,4 +1786,14 @@ Based on:
### Generated
- [java v7.19.2] .
### Releases
- [Maven Central v7.19.2] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.19.2 - .
- [Maven Central v7.19.2] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.19.2 - .

## 2024-11-20 22:13:54
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.441.1 (2.461.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v7.20.0] .
### Releases
- [Maven Central v7.20.0] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.20.0 - .
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tasks.withType(Javadoc) {
}

group = "dev.speakeasyapi"
version = "7.19.2"
version = "7.20.0"

sourcesJar {
archiveBaseName = "javaclientsdk"
Expand All @@ -88,7 +88,7 @@ publishing {
maven(MavenPublication) {
groupId = 'dev.speakeasyapi'
artifactId = 'javaclientsdk'
version = '7.19.2'
version = '7.20.0'

from components.java

Expand Down Expand Up @@ -132,10 +132,11 @@ if (!project.hasProperty('skip.signing')) {
}

dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
implementation 'commons-io:commons-io:2.15.1'
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
java:
version: 7.19.2
version: 7.20.0
additionalDependencies: []
additionalPlugins: []
artifactID: javaclientsdk
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/dev/speakeasyapi/javaclientsdk/SDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,6 @@ public Builder workspaceId(String workspaceId) {
return this;
}

// Visible for testing, will be accessed via reflection
void _hooks(dev.speakeasyapi.javaclientsdk.utils.Hooks hooks) {
sdkConfiguration.setHooks(hooks);
}

/**
* Builds a new instance of the SDK.
* @return The SDK instance.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

package dev.speakeasyapi.javaclientsdk;

import dev.speakeasyapi.javaclientsdk.hooks.SDKHooks;
import dev.speakeasyapi.javaclientsdk.utils.HTTPClient;
import dev.speakeasyapi.javaclientsdk.utils.Hook.SdkInitData;
import dev.speakeasyapi.javaclientsdk.utils.Hooks;
import dev.speakeasyapi.javaclientsdk.utils.RetryConfig;
import java.lang.Object;
Expand All @@ -27,8 +25,8 @@ public Optional<SecuritySource> securitySource() {
public String server;
private static final String LANGUAGE = "java";
public static final String OPENAPI_DOC_VERSION = "0.4.0";
public static final String SDK_VERSION = "7.19.2";
public static final String GEN_VERSION = "2.460.1";
public static final String SDK_VERSION = "7.20.0";
public static final String GEN_VERSION = "2.461.2";
private static final String BASE_PACKAGE = "dev.speakeasyapi.javaclientsdk";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
Expand All @@ -53,11 +51,7 @@ public void setHooks(Hooks hooks) {
* Initializes state (for example hooks).
**/
public void initialize() {
SDKHooks.initialize(_hooks);
// apply the sdk init hook immediately
SdkInitData data = _hooks.sdkInit(new SdkInitData(serverUrl, defaultClient));
this.serverUrl = data.baseUrl();
this.defaultClient = data.client();

}

@SuppressWarnings("serial")
Expand Down

0 comments on commit 6155329

Please sign in to comment.