Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.64.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 25, 2023
1 parent 5e0d7ae commit b4f2b4c
Show file tree
Hide file tree
Showing 25 changed files with 59 additions and 51 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,12 @@ Based on:
- OpenAPI Doc 0.1.0
- Speakeasy CLI 1.62.1 (2.70.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.20.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.20.1 - go-client-sdk
- [Go v1.20.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.20.1 - go-client-sdk

## 2023-07-25 00:13:44
### Changes
Based on:
- OpenAPI Doc 0.1.0
- Speakeasy CLI 1.64.1 (2.71.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.21.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.21.0 - go-client-sdk
6 changes: 3 additions & 3 deletions go-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.62.1
generationVersion: 2.70.2
speakeasyVersion: 1.64.1
generationVersion: 2.71.0
generation:
sdkClassName: SDK
singleTagPerOp: false
go:
version: 1.20.1
version: 1.21.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.20.1'
implementation 'org.openapis.openapi:openapi:1.21.0'
```
<!-- End SDK Installation -->

Expand Down
6 changes: 3 additions & 3 deletions java-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.62.1
generationVersion: 2.70.2
speakeasyVersion: 1.64.1
generationVersion: 2.71.0
generation:
sdkClassName: SDK
singleTagPerOp: false
java:
version: 1.20.1
version: 1.21.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.20.1'
version = '1.21.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.20.1";
public String genVersion = "2.70.2";
public String sdkVersion = "1.21.0";
public String genVersion = "2.71.0";
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.20.1 2.70.2 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
assertEquals("speakeasy-sdk/java 1.21.0 2.71.0 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.20.1 2.70.2 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
assertEquals("speakeasy-sdk/java 1.21.0 2.71.0 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent"));
}
}
6 changes: 3 additions & 3 deletions php-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.62.1
generationVersion: 2.70.2
speakeasyVersion: 1.64.1
generationVersion: 2.71.0
generation:
sdkClassName: SDK
singleTagPerOp: false
php:
version: 1.20.1
version: 1.21.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.20.1';
public string $genVersion = '2.70.2';
public string $sdkVersion = '1.21.0';
public string $genVersion = '2.71.0';
/** @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.20.1 2.70.2 0.1.0',
'speakeasy-sdk/php 1.21.0 2.71.0 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.20.1 2.70.2 0.1.0',
'speakeasy-sdk/php 1.21.0 2.71.0 0.1.0',
$response->res->headers['X-Speakeasy-User-Agent'],
);
}
Expand Down
6 changes: 3 additions & 3 deletions python-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.62.1
generationVersion: 2.70.2
speakeasyVersion: 1.64.1
generationVersion: 2.71.0
generation:
sdkClassName: SDK
singleTagPerOp: false
python:
version: 1.20.1
version: 1.21.0
author: Speakeasy
description: Python Client SDK Generated by Speakeasy
maxMethodParams: 5
Expand Down
4 changes: 2 additions & 2 deletions 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.20.1",
version="1.21.0",
author="Speakeasy",
description="Python Client SDK Generated by Speakeasy",
long_description=long_description,
Expand All @@ -19,7 +19,7 @@
install_requires=[
"certifi>=2022.12.7",
"charset-normalizer>=2.1.1",
"dataclasses-json-speakeasy>=0.5.8",
"dataclasses-json>=0.5.12",
"idna>=3.3",
"jsonpath-python>=1.0.6 ",
"marshmallow>=3.17.1",
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.20.1'
gen_version: str = '2.70.2'
sdk_version: str = '1.21.0'
gen_version: str = '2.71.0'

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.20.1 2.70.2 0.1.0'
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.21.0 2.71.0 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.20.1 2.70.2 0.1.0'
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.21.0 2.71.0 0.1.0'
6 changes: 3 additions & 3 deletions ruby-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.62.1
generationVersion: 2.70.2
speakeasyVersion: 1.64.1
generationVersion: 2.71.0
generation:
sdkClassName: SDK
singleTagPerOp: false
ruby:
version: 1.20.1
version: 1.21.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.20.1'
@gen_version = '2.70.2'
@sdk_version = '1.21.0'
@gen_version = '2.71.0'
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.20.1'
s.version = '1.21.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.20.1 2.70.2 0.1.0', res.res.headers['X-Speakeasy-User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.21.0 2.71.0 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.20.1 2.70.2 0.1.0', res.res.headers['X-Speakeasy-User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.21.0 2.71.0 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.20.1 2.70.2 0.1.0"
"speakeasy-sdk/typescript 1.21.0 2.71.0 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.20.1 2.70.2 0.1.0"
"speakeasy-sdk/typescript 1.21.0 2.71.0 0.1.0"
);
});
6 changes: 3 additions & 3 deletions typescript-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ configVersion: 1.0.0
management:
docChecksum: a78b824343ebcfa1fa1e0b640c6c9866
docVersion: 0.1.0
speakeasyVersion: 1.62.1
generationVersion: 2.70.2
speakeasyVersion: 1.64.1
generationVersion: 2.71.0
generation:
sdkClassName: SDK
singleTagPerOp: false
typescript:
version: 1.20.1
version: 1.21.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.

2 changes: 1 addition & 1 deletion typescript-client-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openapi",
"version": "1.20.1",
"version": "1.21.0",
"author": "Speakeasy",
"scripts": {
"prepare": "tsc --build",
Expand Down
4 changes: 2 additions & 2 deletions typescript-client-sdk/src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ export class SDKConfiguration {
serverDefaults: any;
language = "typescript";
openapiDocVersion = "0.1.0";
sdkVersion = "1.20.1";
genVersion = "2.70.2";
sdkVersion = "1.21.0";
genVersion = "2.71.0";
globals: any;

public constructor(init?: Partial<SDKConfiguration>) {
Expand Down

0 comments on commit b4f2b4c

Please sign in to comment.