File tree Expand file tree Collapse file tree 8 files changed +27
-30
lines changed
src/main/java/org/benzinga/BZClient Expand file tree Collapse file tree 8 files changed +27
-30
lines changed Original file line number Diff line number Diff line change 11lockVersion: 2.0.0
22id: 5b1af2c6-8e5e-4c4d-ac33-d4c3c9add7de
33management:
4- docChecksum: 482b6448351f80b5766b7c2de88572e9
4+ docChecksum: bf4b59f8b4596a0aa8440fedc4ca3d5b
55 docVersion: 1.0.0
66 speakeasyVersion: 1.456.0
77 generationVersion: 2.481.0
8- releaseVersion: 0.3.0
9- configChecksum: a31688734a09b82bac5ad39b794dc9e3
8+ releaseVersion: 0.3.4
9+ configChecksum: d0d5cabfac97105f72cfb86c806c3891
1010 repoURL: https://github.com/Benzinga/bz-java-client.git
1111 published: true
1212features:
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ generation:
1313 oAuth2ClientCredentialsEnabled : false
1414 oAuth2PasswordEnabled : false
1515java :
16- version : 0.3.0
16+ version : 0.3.4
1717 additionalDependencies : []
1818 additionalPlugins : []
1919 artifactID : BZClient
Original file line number Diff line number Diff line change 11speakeasyVersion: 1.456.0
2- sources: {}
2+ sources:
3+ bz-apis:
4+ sourceNamespace: bz-java-client
5+ sourceRevisionDigest: sha256:9f2f39cea742f152e4e3f68eff31c351aa44452674855134145c8b61dee4fee7
6+ sourceBlobDigest: sha256:97ab45e06208ba917f406d570a086dbcebe7c4b3c50b7d12f0760e7ffad024c9
7+ tags:
8+ - latest
9+ - 1.0.0
310targets:
411 bzclient:
5- source: BZ_APIs
12+ source: bz-apis
13+ sourceNamespace: bz-java-client
14+ sourceRevisionDigest: sha256:9f2f39cea742f152e4e3f68eff31c351aa44452674855134145c8b61dee4fee7
15+ sourceBlobDigest: sha256:97ab45e06208ba917f406d570a086dbcebe7c4b3c50b7d12f0760e7ffad024c9
616 codeSamplesNamespace: bz-java-client-code-samples
7- codeSamplesRevisionDigest: sha256:8c11f33238a73e61daead7c93bce451aa9cd0d54b21637b1187fa2e88baf6417
17+ codeSamplesRevisionDigest: sha256:e4fb47b7de35128dd4e9b39410fa730e96becdc1356c148e91b21cfe818a200e
818workflow:
919 workflowVersion: 1.0.0
1020 speakeasyVersion: latest
1121 sources:
12- BZ_APIs :
22+ bz-apis :
1323 inputs:
1424 - location: openapi.yaml
1525 overlays:
1626 - location: .speakeasy/speakeasy-modifications-overlay.yaml
17- output: mintlify-docs
1827 registry:
1928 location: registry.speakeasyapi.dev/benzinga/benzinga/bz-java-client
2029 targets:
2130 bzclient:
2231 target: java
23- source: BZ_APIs
32+ source: bz-apis
2433 publish:
2534 java:
2635 ossrhUsername: $ossrh_username
Original file line number Diff line number Diff line change 11workflowVersion : 1.0.0
22speakeasyVersion : latest
33sources :
4- BZ_APIs :
4+ bz-apis :
55 inputs :
66 - location : openapi.yaml
77 overlays :
88 - location : .speakeasy/speakeasy-modifications-overlay.yaml
9- output : mintlify-docs
109 registry :
1110 location : registry.speakeasyapi.dev/benzinga/benzinga/bz-java-client
1211targets :
1312 bzclient :
1413 target : java
15- source : BZ_APIs
14+ source : bz-apis
1615 publish :
1716 java :
1817 ossrhUsername : $ossrh_username
Original file line number Diff line number Diff line change @@ -48,15 +48,15 @@ The samples below show how a published SDK artifact is used:
4848
4949Gradle:
5050``` groovy
51- implementation 'org.benzinga:BZClient:0.3.0 '
51+ implementation 'org.benzinga:BZClient:0.3.4 '
5252```
5353
5454Maven:
5555``` xml
5656<dependency >
5757 <groupId >org.benzinga</groupId >
5858 <artifactId >BZClient</artifactId >
59- <version >0.3.0 </version >
59+ <version >0.3.4 </version >
6060</dependency >
6161```
6262
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
6363}
6464
6565group = " org.benzinga"
66- version = " 0.3.0 "
66+ version = " 0.3.4 "
6767
6868sourcesJar {
6969 archiveBaseName = " BZClient"
@@ -101,7 +101,7 @@ publishing {
101101 maven(MavenPublication ) {
102102 groupId = ' org.benzinga'
103103 artifactId = ' BZClient'
104- version = ' 0.3.0 '
104+ version = ' 0.3.4 '
105105
106106 from components. java
107107
Original file line number Diff line number Diff line change @@ -356,11 +356,6 @@ public Builder retryConfig(RetryConfig retryConfig) {
356356 this .sdkConfiguration .retryConfig = Optional .of (retryConfig );
357357 return this ;
358358 }
359- // Visible for testing, will be accessed via reflection
360- void _hooks (org .benzinga .BZClient .utils .Hooks hooks ) {
361- sdkConfiguration .setHooks (hooks );
362- }
363-
364359 /**
365360 * Builds a new instance of the SDK.
366361 * @return The SDK instance.
Original file line number Diff line number Diff line change 66
77import java .lang .String ;
88import java .util .Optional ;
9- import org .benzinga .BZClient .hooks .SDKHooks ;
109import org .benzinga .BZClient .utils .HTTPClient ;
11- import org .benzinga .BZClient .utils .Hook .SdkInitData ;
1210import org .benzinga .BZClient .utils .Hooks ;
1311import org .benzinga .BZClient .utils .RetryConfig ;
1412
@@ -29,7 +27,7 @@ public String resolvedServerUrl() {
2927 public int serverIdx = 0 ;
3028 private static final String LANGUAGE = "java" ;
3129 public static final String OPENAPI_DOC_VERSION = "1.0.0" ;
32- public static final String SDK_VERSION = "0.3.0 " ;
30+ public static final String SDK_VERSION = "0.3.4 " ;
3331 public static final String GEN_VERSION = "2.481.0" ;
3432 private static final String BASE_PACKAGE = "org.benzinga.BZClient" ;
3533 public static final String USER_AGENT =
@@ -55,11 +53,7 @@ public void setHooks(Hooks hooks) {
5553 * Initializes state (for example hooks).
5654 **/
5755 public void initialize () {
58- SDKHooks .initialize (_hooks );
59- // apply the sdk init hook immediately
60- SdkInitData data = _hooks .sdkInit (new SdkInitData (serverUrl , defaultClient ));
61- this .serverUrl = data .baseUrl ();
62- this .defaultClient = data .client ();
56+
6357 }
6458
6559
You can’t perform that action at this time.
0 commit comments