Skip to content

Commit

Permalink
Merge pull request #29 from hathora/speakeasy-sdk-regen-1721855279
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 2.7.3
  • Loading branch information
gwprice115 authored Jul 24, 2024
2 parents 17cdc00 + 5414357 commit 60ab833
Show file tree
Hide file tree
Showing 9 changed files with 375 additions and 364 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 0.0.1
speakeasyVersion: 1.345.4
generationVersion: 2.378.3
releaseVersion: 2.7.2
configChecksum: 613577b0fedcf5a8c816d77b28f2df39
releaseVersion: 2.7.3
configChecksum: 40319f1c2dce1d3e0d062bfa2d2f9b11
repoURL: https://github.com/hathora/cloud-sdk-java.git
repoSubDirectory: .
published: true
Expand Down
11 changes: 6 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ speakeasyVersion: 1.345.4
sources:
java-source:
sourceNamespace: java-source
sourceRevisionDigest: sha256:a805fb2e0443591b8164378468026306fe54d0c9e05f4d4525c6241bfc1b5943
sourceBlobDigest: sha256:ec51c4038c38578a5bf94986f28a629c2f62683d71ad1fa02dcd4c469d6fee06
sourceRevisionDigest: sha256:aab168a8fadc8b43494e89e2232d0fd70c1b374a28a6980e332bbfa5cd9366f7
sourceBlobDigest: sha256:8a004b2aa4e67f0ee03289481e3a659b070e6aacfff6138578c44d48f6eca0ec
tags:
- latest
- main
targets:
hathora-java:
source: java-source
sourceNamespace: java-source
sourceRevisionDigest: sha256:a805fb2e0443591b8164378468026306fe54d0c9e05f4d4525c6241bfc1b5943
sourceBlobDigest: sha256:ec51c4038c38578a5bf94986f28a629c2f62683d71ad1fa02dcd4c469d6fee06
outLocation: /Users/george/repos/cloud-sdk-java
sourceRevisionDigest: sha256:aab168a8fadc8b43494e89e2232d0fd70c1b374a28a6980e332bbfa5cd9366f7
sourceBlobDigest: sha256:8a004b2aa4e67f0ee03289481e3a659b070e6aacfff6138578c44d48f6eca0ec
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'dev.hathora:cloud-api:2.7.2'
implementation 'dev.hathora:cloud-api:2.7.3'
```

Maven:
```xml
<dependency>
<groupId>dev.hathora</groupId>
<artifactId>cloud-api</artifactId>
<version>2.7.2</version>
<version>2.7.3</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,14 @@ Based on:
- OpenAPI Doc
- Speakeasy CLI 1.345.4 (2.378.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v2.7.1] .
- [java v2.7.1] .

## 2024-07-24 21:07:57
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.345.4 (2.378.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v2.7.3] .
### Releases
- [Maven Central v2.7.3] https://central.sonatype.com/artifact/dev.hathora/cloud-api/2.7.3 - .
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ publishing {
maven(MavenPublication) {
groupId = 'dev.hathora'
artifactId = 'cloud-api'
version = '2.7.2'
version = '2.7.3'

from components.java

Expand Down
516 changes: 258 additions & 258 deletions codeSamples.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
baseServerURL: ""
flattenGlobalSecurity: true
java:
version: 2.7.2
version: 2.7.3
additionalDependencies:
- testImplementation:org.junit.jupiter:junit-jupiter-api:5.8.1
- testRuntimeOnly:org.junit.jupiter:junit-jupiter-engine:5.8.1
Expand Down
184 changes: 92 additions & 92 deletions gradlew.bat
Original file line number Diff line number Diff line change
@@ -1,92 +1,92 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
@rem This is normally unused
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
4 changes: 2 additions & 2 deletions src/main/java/dev/hathora/cloud_api/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public Optional<SecuritySource> securitySource() {
public int serverIdx = 0;
public String language = "java";
public String openapiDocVersion = "0.0.1";
public String sdkVersion = "2.7.2";
public String sdkVersion = "2.7.3";
public String genVersion = "2.378.3";
public String userAgent = "speakeasy-sdk/java 2.7.2 2.378.3 0.0.1 dev.hathora.cloud_api";
public String userAgent = "speakeasy-sdk/java 2.7.3 2.378.3 0.0.1 dev.hathora.cloud_api";

private dev.hathora.cloud_api.utils.Hooks _hooks = createHooks();

Expand Down

0 comments on commit 60ab833

Please sign in to comment.