Skip to content

Commit 99f23bc

Browse files
authored
Merge pull request #3 from ding-live/speakeasy-sdk-regen-1729851594
chore: 🐝 Update SDK - Generate 0.7.8
2 parents 35471b5 + b45234b commit 99f23bc

File tree

8 files changed

+121
-105
lines changed

8 files changed

+121
-105
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ id: fd2a78ee-286d-4e3c-ab3c-507a8f89f511
33
management:
44
docChecksum: c2a5d8222f4117f238343d6187ef2751
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.421.1
6+
speakeasyVersion: 1.421.2
77
generationVersion: 2.438.15
8-
releaseVersion: 0.7.7
9-
configChecksum: 6d2bf4bb5e8581e4cbc27eb1a862566f
8+
releaseVersion: 0.7.8
9+
configChecksum: 58fcae14b002321f0f6db470b091c6fc
1010
repoURL: https://github.com/ding-live/ding-java.git
1111
repoSubDirectory: .
1212
published: true

.speakeasy/workflow.lock

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
speakeasyVersion: 1.421.1
1+
speakeasyVersion: 1.421.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:61ec3342724a92cd5515849701c97a77d4eae6094a27df873a7d772121011091
5+
sourceRevisionDigest: sha256:87cde9189a30c3e0a8cdbc416d372dd5294e4e783c8099f5dfab22b5837d2a63
66
sourceBlobDigest: sha256:983960b6ecce35b4c545e5d1129506d864a1e60f367893d0723cc775ef2c15b1
77
tags:
88
- latest
@@ -11,7 +11,7 @@ targets:
1111
live.ding.dingsdk:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:61ec3342724a92cd5515849701c97a77d4eae6094a27df873a7d772121011091
14+
sourceRevisionDigest: sha256:87cde9189a30c3e0a8cdbc416d372dd5294e4e783c8099f5dfab22b5837d2a63
1515
sourceBlobDigest: sha256:983960b6ecce35b4c545e5d1129506d864a1e60f367893d0723cc775ef2c15b1
1616
workflow:
1717
workflowVersion: 1.0.0
@@ -26,3 +26,9 @@ workflow:
2626
live.ding.dingsdk:
2727
target: java
2828
source: my-source
29+
publish:
30+
java:
31+
ossrhUsername: f1b6diLi
32+
ossrhPassword: $ossrh_password
33+
gpgSecretKey: $java_gpg_secret_key
34+
gpgPassPhrase: $java_gpg_passphrase

README.md

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

3131
Gradle:
3232
```groovy
33-
implementation 'live.ding:dingSdk:0.7.7'
33+
implementation 'live.ding:dingSdk:0.7.8'
3434
```
3535

3636
Maven:
3737
```xml
3838
<dependency>
3939
<groupId>live.ding</groupId>
4040
<artifactId>dingSdk</artifactId>
41-
<version>0.7.7</version>
41+
<version>0.7.8</version>
4242
</dependency>
4343
```
4444

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,14 @@ Based on:
214214
- OpenAPI Doc
215215
- Speakeasy CLI 1.421.1 (2.438.15) https://github.com/speakeasy-api/speakeasy
216216
### Generated
217-
- [java v0.7.7] .
217+
- [java v0.7.7] .
218+
219+
## 2024-10-25 10:19:52
220+
### Changes
221+
Based on:
222+
- OpenAPI Doc
223+
- Speakeasy CLI 1.421.2 (2.438.15) https://github.com/speakeasy-api/speakeasy
224+
### Generated
225+
- [java v0.7.8] .
226+
### Releases
227+
- [Maven Central v0.7.8] https://central.sonatype.com/artifact/live.ding/dingSdk/0.7.8 - .

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ tasks.withType(Javadoc) {
6161
}
6262

6363
group = "live.ding"
64-
version = "0.7.7"
64+
version = "0.7.8"
6565

6666
sourcesJar {
6767
archiveBaseName = "dingSdk"
@@ -88,7 +88,7 @@ publishing {
8888
maven(MavenPublication) {
8989
groupId = 'live.ding'
9090
artifactId = 'dingSdk'
91-
version = '0.7.7'
91+
version = '0.7.8'
9292

9393
from components.java
9494

gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
baseServerURL: ""
1313
flattenGlobalSecurity: true
1414
java:
15-
version: 0.7.7
15+
version: 0.7.8
1616
additionalDependencies: []
1717
additionalPlugins: []
1818
artifactID: dingSdk

gradlew.bat

Lines changed: 92 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,92 @@
1-
@rem
2-
@rem Copyright 2015 the original author or authors.
3-
@rem
4-
@rem Licensed under the Apache License, Version 2.0 (the "License");
5-
@rem you may not use this file except in compliance with the License.
6-
@rem You may obtain a copy of the License at
7-
@rem
8-
@rem https://www.apache.org/licenses/LICENSE-2.0
9-
@rem
10-
@rem Unless required by applicable law or agreed to in writing, software
11-
@rem distributed under the License is distributed on an "AS IS" BASIS,
12-
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
@rem See the License for the specific language governing permissions and
14-
@rem limitations under the License.
15-
@rem
16-
17-
@if "%DEBUG%"=="" @echo off
18-
@rem ##########################################################################
19-
@rem
20-
@rem Gradle startup script for Windows
21-
@rem
22-
@rem ##########################################################################
23-
24-
@rem Set local scope for the variables with windows NT shell
25-
if "%OS%"=="Windows_NT" setlocal
26-
27-
set DIRNAME=%~dp0
28-
if "%DIRNAME%"=="" set DIRNAME=.
29-
@rem This is normally unused
30-
set APP_BASE_NAME=%~n0
31-
set APP_HOME=%DIRNAME%
32-
33-
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
34-
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35-
36-
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37-
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38-
39-
@rem Find java.exe
40-
if defined JAVA_HOME goto findJavaFromJavaHome
41-
42-
set JAVA_EXE=java.exe
43-
%JAVA_EXE% -version >NUL 2>&1
44-
if %ERRORLEVEL% equ 0 goto execute
45-
46-
echo.
47-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48-
echo.
49-
echo Please set the JAVA_HOME variable in your environment to match the
50-
echo location of your Java installation.
51-
52-
goto fail
53-
54-
:findJavaFromJavaHome
55-
set JAVA_HOME=%JAVA_HOME:"=%
56-
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57-
58-
if exist "%JAVA_EXE%" goto execute
59-
60-
echo.
61-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62-
echo.
63-
echo Please set the JAVA_HOME variable in your environment to match the
64-
echo location of your Java installation.
65-
66-
goto fail
67-
68-
:execute
69-
@rem Setup the command line
70-
71-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
72-
73-
74-
@rem Execute Gradle
75-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76-
77-
:end
78-
@rem End local scope for the variables with windows NT shell
79-
if %ERRORLEVEL% equ 0 goto mainEnd
80-
81-
:fail
82-
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83-
rem the _cmd.exe /c_ return code!
84-
set EXIT_CODE=%ERRORLEVEL%
85-
if %EXIT_CODE% equ 0 set EXIT_CODE=1
86-
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87-
exit /b %EXIT_CODE%
88-
89-
:mainEnd
90-
if "%OS%"=="Windows_NT" endlocal
91-
92-
:omega
1+
@rem
2+
@rem Copyright 2015 the original author or authors.
3+
@rem
4+
@rem Licensed under the Apache License, Version 2.0 (the "License");
5+
@rem you may not use this file except in compliance with the License.
6+
@rem You may obtain a copy of the License at
7+
@rem
8+
@rem https://www.apache.org/licenses/LICENSE-2.0
9+
@rem
10+
@rem Unless required by applicable law or agreed to in writing, software
11+
@rem distributed under the License is distributed on an "AS IS" BASIS,
12+
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
@rem See the License for the specific language governing permissions and
14+
@rem limitations under the License.
15+
@rem
16+
17+
@if "%DEBUG%"=="" @echo off
18+
@rem ##########################################################################
19+
@rem
20+
@rem Gradle startup script for Windows
21+
@rem
22+
@rem ##########################################################################
23+
24+
@rem Set local scope for the variables with windows NT shell
25+
if "%OS%"=="Windows_NT" setlocal
26+
27+
set DIRNAME=%~dp0
28+
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
30+
set APP_BASE_NAME=%~n0
31+
set APP_HOME=%DIRNAME%
32+
33+
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
34+
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35+
36+
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38+
39+
@rem Find java.exe
40+
if defined JAVA_HOME goto findJavaFromJavaHome
41+
42+
set JAVA_EXE=java.exe
43+
%JAVA_EXE% -version >NUL 2>&1
44+
if %ERRORLEVEL% equ 0 goto execute
45+
46+
echo.
47+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48+
echo.
49+
echo Please set the JAVA_HOME variable in your environment to match the
50+
echo location of your Java installation.
51+
52+
goto fail
53+
54+
:findJavaFromJavaHome
55+
set JAVA_HOME=%JAVA_HOME:"=%
56+
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57+
58+
if exist "%JAVA_EXE%" goto execute
59+
60+
echo.
61+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62+
echo.
63+
echo Please set the JAVA_HOME variable in your environment to match the
64+
echo location of your Java installation.
65+
66+
goto fail
67+
68+
:execute
69+
@rem Setup the command line
70+
71+
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
72+
73+
74+
@rem Execute Gradle
75+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76+
77+
:end
78+
@rem End local scope for the variables with windows NT shell
79+
if %ERRORLEVEL% equ 0 goto mainEnd
80+
81+
:fail
82+
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83+
rem the _cmd.exe /c_ return code!
84+
set EXIT_CODE=%ERRORLEVEL%
85+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
86+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87+
exit /b %EXIT_CODE%
88+
89+
:mainEnd
90+
if "%OS%"=="Windows_NT" endlocal
91+
92+
:omega

src/main/java/live/ding/dingSdk/SDKConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public Optional<SecuritySource> securitySource() {
2121
public int serverIdx = 0;
2222
private static final String LANGUAGE = "java";
2323
public static final String OPENAPI_DOC_VERSION = "1.0.0";
24-
public static final String SDK_VERSION = "0.7.7";
24+
public static final String SDK_VERSION = "0.7.8";
2525
public static final String GEN_VERSION = "2.438.15";
2626
private static final String BASE_PACKAGE = "live.ding.dingSdk";
2727
public static final String USER_AGENT =

0 commit comments

Comments
 (0)