Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.74.15
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Aug 26, 2023
1 parent ba185af commit 1ff4331
Show file tree
Hide file tree
Showing 25 changed files with 72 additions and 56 deletions.
17 changes: 16 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,19 @@ Based on:
- [php v1.27.1] php-client-sdk
- [python v1.27.2] python-client-sdk
- [ruby v1.27.1] ruby-client-sdk
- [typescript v1.27.1] typescript-client-sdk
- [typescript v1.27.1] typescript-client-sdk

## 2023-08-26 00:10:37
### Changes
Based on:
- OpenAPI Doc 0.1.0
- Speakeasy CLI 1.74.15 (2.88.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [php v1.28.0] php-client-sdk
- [python v1.28.0] python-client-sdk
- [ruby v1.28.0] ruby-client-sdk
- [typescript v1.28.0] typescript-client-sdk
- [go v1.28.0] go-client-sdk
- [java v1.28.0] java-client-sdk
### Releases
- [Go v1.28.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.28.0 - go-client-sdk
8 changes: 4 additions & 4 deletions go-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.72.0
generationVersion: 2.84.1
speakeasyVersion: 1.74.15
generationVersion: 2.88.2
generation:
sdkClassName: SDK
singleTagPerOp: false
features:
go:
core: 2.83.1
core: 2.84.1
deprecations: 2.81.1
enums: 2.81.1
examples: 2.81.1
Expand All @@ -28,6 +28,6 @@ features:
serverIDs: 2.81.1
unions: 2.81.2
go:
version: 1.27.0
version: 1.28.0
maxMethodParams: 5
packageName: openapi
4 changes: 2 additions & 2 deletions go-client-sdk/sdk.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go-client-sdk/tests/telemetry_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion java-client-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### Gradle

```groovy
implementation 'org.openapis.openapi:openapi:1.27.2'
implementation 'org.openapis.openapi:openapi:1.28.0'
```
<!-- End SDK Installation -->

Expand Down
8 changes: 4 additions & 4 deletions java-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.74.11
generationVersion: 2.87.1
speakeasyVersion: 1.74.15
generationVersion: 2.88.2
generation:
sdkClassName: SDK
singleTagPerOp: false
features:
java:
core: 2.82.2
core: 2.83.1
deprecations: 2.81.1
enums: 2.81.1
examples: 2.81.1
Expand All @@ -25,7 +25,7 @@ features:
nameOverrides: 2.81.1
serverIDs: 2.81.1
java:
version: 1.27.2
version: 1.28.0
artifactID: openapi
companyEmail: [email protected]
companyName: My Company
Expand Down
2 changes: 1 addition & 1 deletion java-client-sdk/lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ publishing {
maven(MavenPublication) {
groupId = 'org.openapis'
artifactId = 'openapi'
version = '1.27.2'
version = '1.28.0'

from components.java

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class SDKConfiguration {
}};
public String language = "java";
public String openapiDocVersion = "0.1.0";
public String sdkVersion = "1.27.2";
public String genVersion = "2.87.1";
public String sdkVersion = "1.28.0";
public String genVersion = "2.88.2";
public Map<String, Map<String, Map<String, Object>>> globals = new HashMap<String, Map<String, Map<String, Object>>>(){{
put("parameters", new HashMap<String, Map<String, Object>>());
}};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void testTelemetryUserAgentGet() throws Exception {

assertNotNull(res);
assertEquals(200, res.statusCode);
assertEquals("speakeasy-sdk/java 1.27.2 2.87.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
assertEquals("speakeasy-sdk/java 1.28.0 2.88.2 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
}

@Test
Expand All @@ -40,6 +40,6 @@ void testTelemetrySpeakeasyUserAgentGet() throws Exception {
assertNotNull(res);
assertEquals(200, res.statusCode);
assertEquals(userAgent, res.res.headers.get("User-Agent"));
assertEquals("speakeasy-sdk/java 1.27.2 2.87.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
assertEquals("speakeasy-sdk/java 1.28.0 2.88.2 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
}
}
8 changes: 4 additions & 4 deletions php-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.74.11
generationVersion: 2.87.1
speakeasyVersion: 1.74.15
generationVersion: 2.88.2
generation:
sdkClassName: SDK
singleTagPerOp: false
features:
php:
core: 2.82.1
core: 2.83.1
deprecations: 2.81.1
enums: 2.81.1
examples: 2.81.1
Expand All @@ -25,7 +25,7 @@ features:
nameOverrides: 2.81.1
serverIDs: 2.81.1
php:
version: 1.27.1
version: 1.28.0
maxMethodParams: 5
namespace: OpenAPI\OpenAPI
packageName: openapi/openapi
4 changes: 2 additions & 2 deletions php-client-sdk/src/SDKConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class SDKConfiguration
];
public string $language = 'php';
public string $openapiDocVersion = '0.1.0';
public string $sdkVersion = '1.27.1';
public string $genVersion = '2.87.1';
public string $sdkVersion = '1.28.0';
public string $genVersion = '2.88.2';
/** @var array<string, array<string, array<string, mixed>>> */
public ?array $globals = [
'parameters' => []
Expand Down
4 changes: 2 additions & 2 deletions php-client-sdk/tests/TelemetryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function testTelemetryUserAgentGet(): void
$this->assertNotNull($response);
$this->assertEquals(200, $response->statusCode);
$this->assertEquals(
'speakeasy-sdk/php 1.27.1 2.87.1 0.1.0',
'speakeasy-sdk/php 1.28.0 2.88.2 0.1.0',
$response->res->headers['X-Speakeasy-User-Agent'],
);
}
Expand All @@ -42,7 +42,7 @@ public function testTelemetrySpeakeasyUserAgentGet(): void
$this->assertEquals(200, $response->statusCode);
$this->assertEquals($userAgent, $response->res->headers['User-Agent']);
$this->assertEquals(
'speakeasy-sdk/php 1.27.1 2.87.1 0.1.0',
'speakeasy-sdk/php 1.28.0 2.88.2 0.1.0',
$response->res->headers['X-Speakeasy-User-Agent'],
);
}
Expand Down
8 changes: 4 additions & 4 deletions python-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.74.11
generationVersion: 2.87.1
speakeasyVersion: 1.74.15
generationVersion: 2.88.2
generation:
sdkClassName: SDK
singleTagPerOp: false
features:
python:
core: 2.82.2
core: 2.83.1
deprecations: 2.81.1
enums: 2.81.1
examples: 2.81.1
Expand All @@ -27,7 +27,7 @@ features:
retries: 2.81.1
serverIDs: 2.81.1
python:
version: 1.27.2
version: 1.28.0
author: Speakeasy
description: Python Client SDK Generated by Speakeasy
maxMethodParams: 5
Expand Down
2 changes: 1 addition & 1 deletion python-client-sdk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="openapi",
version="1.27.2",
version="1.28.0",
author="Speakeasy",
description="Python Client SDK Generated by Speakeasy",
long_description=long_description,
Expand Down
4 changes: 2 additions & 2 deletions python-client-sdk/src/sdk/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class SDKConfiguration:
globals: dict[str, dict[str, dict[str, Any]]] = field(default_factory=dict)
language: str = 'python'
openapi_doc_version: str = '0.1.0'
sdk_version: str = '1.27.2'
gen_version: str = '2.87.1'
sdk_version: str = '1.28.0'
gen_version: str = '2.88.2'

def get_server_details(self) -> tuple[str, dict[str, str]]:
if self.server_url:
Expand Down
4 changes: 2 additions & 2 deletions python-client-sdk/tests/test_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_telemetry_user_agent_get():
assert res is not None
assert res.status_code == 200
assert res.res is not None
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.27.2 2.87.1 0.1.0'
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.28.0 2.88.2 0.1.0'


def test_telemetry_speakeasy_user_agent_get():
Expand All @@ -33,4 +33,4 @@ def test_telemetry_speakeasy_user_agent_get():
assert res.status_code == 200
assert res.res is not None
assert res.res.headers['User-Agent'] == user_agent
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.27.2 2.87.1 0.1.0'
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.28.0 2.88.2 0.1.0'
8 changes: 4 additions & 4 deletions ruby-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.74.11
generationVersion: 2.87.1
speakeasyVersion: 1.74.15
generationVersion: 2.88.2
generation:
sdkClassName: SDK
singleTagPerOp: false
features:
ruby:
core: 2.82.2
core: 2.83.1
deprecations: 2.81.1
enums: 2.81.1
examples: 2.81.1
Expand All @@ -25,7 +25,7 @@ features:
nameOverrides: 2.81.1
serverIDs: 2.81.1
ruby:
version: 1.27.1
version: 1.28.0
author: Speakeasy
description: Ruby Client SDK Generated by Speakeasy
maxMethodParams: 5
Expand Down
4 changes: 2 additions & 2 deletions ruby-client-sdk/lib/sdk/sdkconfiguration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def initialize(client, security, server_url, server_idx, server_defaults, global
@globals = globals.nil? ? {} : globals
@language = 'ruby'
@openapi_doc_version = '0.1.0'
@sdk_version = '1.27.1'
@gen_version = '2.87.1'
@sdk_version = '1.28.0'
@gen_version = '2.88.2'
end

sig { returns([String, T::Hash[Symbol, String]]) }
Expand Down
2 changes: 1 addition & 1 deletion ruby-client-sdk/openapi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)

Gem::Specification.new do |s|
s.name = 'openapi'
s.version = '1.27.1'
s.version = '1.28.0'
s.platform = Gem::Platform::RUBY
s.licenses = ['Apache-2.0']
s.summary = ''
Expand Down
4 changes: 2 additions & 2 deletions ruby-client-sdk/test/telemetry_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_telemetry_user_agent_get

refute_nil(res)
assert_equal(Rack::Utils.status_code(:ok), res.status_code)
assert_equal('speakeasy-sdk/ruby 1.27.1 2.87.1 0.1.0', res.res.headers['X-Speakeasy-User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.28.0 2.88.2 0.1.0', res.res.headers['X-Speakeasy-User-Agent'])

end

Expand All @@ -29,7 +29,7 @@ def test_telemetry_speakeasy_user_agent_get
refute_nil(res)
assert_equal(Rack::Utils.status_code(:ok), res.status_code)
assert_equal(user_agent, res.res.headers['User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.27.1 2.87.1 0.1.0', res.res.headers['X-Speakeasy-User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.28.0 2.88.2 0.1.0', res.res.headers['X-Speakeasy-User-Agent'])

end
end
Expand Down
4 changes: 2 additions & 2 deletions typescript-client-sdk/__tests__/telemetry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test("Test Telemetry User Agent Get", async () => {
expect(res.statusCode).toBeDefined();
expect(res.statusCode).toBe(200);
expect(res.res?.headers["X-Speakeasy-User-Agent"]).toBe(
"speakeasy-sdk/typescript 1.27.1 2.87.1 0.1.0"
"speakeasy-sdk/typescript 1.28.0 2.88.2 0.1.0"
);
});

Expand All @@ -39,6 +39,6 @@ test("Test Telemetry Speakeasy User Agent Get", async () => {
expect(res.statusCode).toBe(200);
expect(res.res?.headers["User-Agent"]).toBe(userAgent);
expect(res.res?.headers["X-Speakeasy-User-Agent"]).toBe(
"speakeasy-sdk/typescript 1.27.1 2.87.1 0.1.0"
"speakeasy-sdk/typescript 1.28.0 2.88.2 0.1.0"
);
});
8 changes: 4 additions & 4 deletions typescript-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.74.11
generationVersion: 2.87.1
speakeasyVersion: 1.74.15
generationVersion: 2.88.2
generation:
sdkClassName: SDK
singleTagPerOp: false
features:
typescript:
core: 2.82.1
core: 2.83.1
deprecations: 2.81.1
enums: 2.81.1
examples: 2.81.1
Expand All @@ -27,7 +27,7 @@ features:
retries: 2.81.1
serverIDs: 2.81.1
typescript:
version: 1.27.1
version: 1.28.0
author: Speakeasy
maxMethodParams: 5
packageName: openapi
4 changes: 2 additions & 2 deletions typescript-client-sdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ff4331

Please sign in to comment.