Skip to content

Commit df3e4c3

Browse files
authored
Merge pull request #11 from ding-live/speakeasy-sdk-regen-1730136151
chore: 🐝 Update SDK - Generate 0.8.3
2 parents 8c23960 + 341b305 commit df3e4c3

File tree

8 files changed

+114
-104
lines changed

8 files changed

+114
-104
lines changed

.speakeasy/gen.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ management:
55
docVersion: 1.0.0
66
speakeasyVersion: 1.422.2
77
generationVersion: 2.442.11
8-
releaseVersion: 0.8.2
9-
configChecksum: fd81ee73ccb912b43e4378c3bda820c6
8+
releaseVersion: 0.8.3
9+
configChecksum: 1fd95fdd632f62e3f6c998bd21d550b2
1010
repoURL: https://github.com/ding-live/ding-java.git
1111
repoSubDirectory: .
1212
published: true

.speakeasy/workflow.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ speakeasyVersion: 1.422.2
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:ef541bfffdc497d7449bfbe69800aec374d3acf94985d4a184c1fbf231e283d3
5+
sourceRevisionDigest: sha256:0306ab5b925614b1d6f8d720d9cc121b8e6d6bf6a654af1264da72725e40d521
66
sourceBlobDigest: sha256:53cfa7778a132bc5e0a8ddb6d02fbbe345b15d571d7748cc4978523211008ea3
77
tags:
88
- latest
@@ -11,10 +11,10 @@ targets:
1111
live.ding.dingsdk:
1212
source: my-source
1313
sourceNamespace: my-source
14-
sourceRevisionDigest: sha256:ef541bfffdc497d7449bfbe69800aec374d3acf94985d4a184c1fbf231e283d3
14+
sourceRevisionDigest: sha256:0306ab5b925614b1d6f8d720d9cc121b8e6d6bf6a654af1264da72725e40d521
1515
sourceBlobDigest: sha256:53cfa7778a132bc5e0a8ddb6d02fbbe345b15d571d7748cc4978523211008ea3
1616
codeSamplesNamespace: my-source-code-samples
17-
codeSamplesRevisionDigest: sha256:cdd79a2518172763d6f39f2aa2a499721dd7be0f496fb2b7490e6dddbd6607e3
17+
codeSamplesRevisionDigest: sha256:9003fae7a6b530fc5bd43595728f64817b6e00f3997d8ace5b690c6ead134cac
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: latest

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.8.2'
33+
implementation 'live.ding:dingsdk:0.8.3'
3434
```
3535

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

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,14 @@ Based on:
254254
### Generated
255255
- [java v0.8.2] .
256256
### Releases
257-
- [Maven Central v0.8.2] https://central.sonatype.com/artifact/live.ding/dingsdk/0.8.2 - .
257+
- [Maven Central v0.8.2] https://central.sonatype.com/artifact/live.ding/dingsdk/0.8.2 - .
258+
259+
## 2024-10-28 17:22:28
260+
### Changes
261+
Based on:
262+
- OpenAPI Doc
263+
- Speakeasy CLI 1.422.2 (2.442.11) https://github.com/speakeasy-api/speakeasy
264+
### Generated
265+
- [java v0.8.3] .
266+
### Releases
267+
- [Maven Central v0.8.3] https://central.sonatype.com/artifact/live.ding/dingsdk/0.8.3 - .

build.gradle

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

6565
group = "live.ding"
66-
version = "0.8.2"
66+
version = "0.8.3"
6767

6868
sourcesJar {
6969
archiveBaseName = "dingsdk"
@@ -101,7 +101,7 @@ publishing {
101101
maven(MavenPublication) {
102102
groupId = 'live.ding'
103103
artifactId = 'dingsdk'
104-
version = '0.8.2'
104+
version = '0.8.3'
105105

106106
from components.java
107107

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.8.2
15+
version: 0.8.3
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.8.2";
24+
public static final String SDK_VERSION = "0.8.3";
2525
public static final String GEN_VERSION = "2.442.11";
2626
private static final String BASE_PACKAGE = "live.ding.dingsdk";
2727
public static final String USER_AGENT =

0 commit comments

Comments
 (0)