Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.38.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 27, 2023
1 parent 841650a commit 7a9eea8
Show file tree
Hide file tree
Showing 155 changed files with 8,937 additions and 9,583 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.37.5 (2.32.2) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.3.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.3.0 - go-client-sdk
- [Go v1.3.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.3.0 - go-client-sdk

## 2023-05-27 00:12:01
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.38.0 (2.32.7) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.3.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.3.1 - 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: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.37.5
generationVersion: 2.32.2
speakeasyVersion: 1.38.0
generationVersion: 2.32.7
generation:
sdkClassName: SDK
singleTagPerOp: false
go:
version: 1.3.0
version: 1.3.1
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.3.0'
implementation 'org.openapis.openapi:openapi:1.3.1'
```
<!-- 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: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.37.5
generationVersion: 2.32.2
speakeasyVersion: 1.38.0
generationVersion: 2.32.7
generation:
sdkClassName: SDK
singleTagPerOp: false
java:
version: 1.3.0
version: 1.3.1
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.3.0'
version = '1.3.1'

from components.java

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ public class SDK {
private org.openapis.openapi.models.shared.Security _security;
private String _serverUrl;
private String _language = "java";
private String _sdkVersion = "1.3.0";
private String _genVersion = "2.32.2";
private String _sdkVersion = "1.3.1";
private String _genVersion = "2.32.7";
java.util.Map<String, java.util.Map<String, java.util.Map<String, Object>>> _globals;

/**
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.3.0 2.32.2", res.res.headers.get("X-Speakeasy-User-Agent"));
assertEquals("speakeasy-sdk/java 1.3.1 2.32.7", 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.3.0 2.32.2", res.res.headers.get("X-Speakeasy-User-Agent"));
assertEquals("speakeasy-sdk/java 1.3.1 2.32.7", 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: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.37.5
generationVersion: 2.32.2
speakeasyVersion: 1.38.0
generationVersion: 2.32.7
generation:
sdkClassName: SDK
singleTagPerOp: false
php:
version: 1.3.0
version: 1.3.1
maxMethodParams: 5
namespace: OpenAPI\OpenAPI
packageName: openapi/openapi
4 changes: 2 additions & 2 deletions php-client-sdk/src/SDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ class SDK
private ?Models\Shared\Security $_security;
private string $_serverUrl;
private string $_language = 'php';
private string $_sdkVersion = '1.3.0';
private string $_genVersion = '2.32.2';
private string $_sdkVersion = '1.3.1';
private string $_genVersion = '2.32.7';
/** @var array<string, array<string, array<string, mixed>>> */
private ?array $_globals;

Expand Down
10 changes: 8 additions & 2 deletions php-client-sdk/tests/TelemetryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ public function testTelemetryUserAgentGet(): void

$this->assertNotNull($response);
$this->assertEquals(200, $response->statusCode);
$this->assertEquals('speakeasy-sdk/php 1.3.0 2.32.2', $response->res->headers['X-Speakeasy-User-Agent']);
$this->assertEquals(
'speakeasy-sdk/php 1.3.1 2.32.7',
$response->res->headers['X-Speakeasy-User-Agent'],
);
}

public function testTelemetrySpeakeasyUserAgentGet(): void
Expand All @@ -38,6 +41,9 @@ public function testTelemetrySpeakeasyUserAgentGet(): void
$this->assertNotNull($response);
$this->assertEquals(200, $response->statusCode);
$this->assertEquals($userAgent, $response->res->headers['User-Agent']);
$this->assertEquals('speakeasy-sdk/php 1.3.0 2.32.2', $response->res->headers['X-Speakeasy-User-Agent']);
$this->assertEquals(
'speakeasy-sdk/php 1.3.1 2.32.7',
$response->res->headers['X-Speakeasy-User-Agent'],
);
}
}
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: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.37.5
generationVersion: 2.32.2
speakeasyVersion: 1.38.0
generationVersion: 2.32.7
generation:
sdkClassName: SDK
singleTagPerOp: false
python:
version: 1.3.0
version: 1.3.1
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.3.0",
version="1.3.1",
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/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class SDK:
_security_client: requests_http.Session
_server_url: str = SERVERS[0]
_language: str = "python"
_sdk_version: str = "1.3.0"
_gen_version: str = "2.32.2"
_sdk_version: str = "1.3.1"
_gen_version: str = "2.32.7"
_globals: dict[str, dict[str, dict[str, Any]]]

def __init__(self,
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.3.0 2.32.2'
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.3.1 2.32.7'


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.3.0 2.32.2'
assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.3.1 2.32.7'
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: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.37.5
generationVersion: 2.32.2
speakeasyVersion: 1.38.0
generationVersion: 2.32.7
generation:
sdkClassName: SDK
singleTagPerOp: false
ruby:
version: 1.3.0
version: 1.3.1
author: Speakeasy
description: Ruby Client SDK Generated by Speakeasy
maxMethodParams: 5
Expand Down
4 changes: 2 additions & 2 deletions ruby-client-sdk/lib/sdk/sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def initialize(security: nil,
@security = nil
@server_url = SERVERS[0]
@language = 'ruby'
@sdk_version = '1.3.0'
@gen_version = '2.32.2'
@sdk_version = '1.3.1'
@gen_version = '2.32.7'
init_sdks
end

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.3.0'
s.version = '1.3.1'
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.3.0 2.32.2', res.res.headers['X-Speakeasy-User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.3.1 2.32.7', 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.3.0 2.32.2', res.res.headers['X-Speakeasy-User-Agent'])
assert_equal('speakeasy-sdk/ruby 1.3.1 2.32.7', res.res.headers['X-Speakeasy-User-Agent'])

end
end
Expand Down
43 changes: 21 additions & 22 deletions typescript-client-sdk/__tests__/telemetry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,42 @@
*/

import {
TelemetrySpeakeasyUserAgentGetResponse,
TelemetryUserAgentGetResponse,
TelemetrySpeakeasyUserAgentGetResponse,
TelemetryUserAgentGetResponse,
} from "../src/sdk/models/operations";
import { expect, test } from "@jest/globals";

import { SDK } from "../src/sdk";
import { recordTest } from "./helpers";

test("Test Telemetry User Agent Get", async () => {
recordTest("telemetry-user-agent-get");
recordTest("telemetry-user-agent-get");

const sdk = new SDK({});
const sdk = new SDK({});

const res: TelemetryUserAgentGetResponse =
await sdk.telemetry.telemetryUserAgentGet();
const res: TelemetryUserAgentGetResponse = await sdk.telemetry.telemetryUserAgentGet();

expect(res.statusCode).toBeDefined();
expect(res.statusCode).toBe(200);
expect(res.res?.headers["X-Speakeasy-User-Agent"]).toBe(
"speakeasy-sdk/typescript 1.3.0 2.32.2"
);
expect(res.statusCode).toBeDefined();
expect(res.statusCode).toBe(200);
expect(res.res?.headers["X-Speakeasy-User-Agent"]).toBe(
"speakeasy-sdk/typescript 1.3.1 2.32.7"
);
});

test("Test Telemetry Speakeasy User Agent Get", async () => {
recordTest("telemetry-speakeasy-user-agent-get");
recordTest("telemetry-speakeasy-user-agent-get");

const sdk = new SDK({});
const sdk = new SDK({});

const userAgent = "test user agent";
const userAgent = "test user agent";

const res: TelemetrySpeakeasyUserAgentGetResponse =
await sdk.telemetry.telemetrySpeakeasyUserAgentGet(userAgent);
const res: TelemetrySpeakeasyUserAgentGetResponse =
await sdk.telemetry.telemetrySpeakeasyUserAgentGet(userAgent);

expect(res.statusCode).toBeDefined();
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.3.0 2.32.2"
);
expect(res.statusCode).toBeDefined();
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.3.1 2.32.7"
);
});
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: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.37.5
generationVersion: 2.32.2
speakeasyVersion: 1.38.0
generationVersion: 2.32.7
generation:
sdkClassName: SDK
singleTagPerOp: false
typescript:
version: 1.3.0
version: 1.3.1
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.3.0",
"version": "1.3.1",
"author": "Speakeasy",
"scripts": {
"prepare": "tsc --build",
Expand Down
Loading

0 comments on commit 7a9eea8

Please sign in to comment.