From caa9d1d91056dfe12d82cf8bc246fec0b68b5a20 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 24 Apr 2023 17:29:49 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.22.2 --- README.md | 2 +- RELEASES.md | 10 +++++++++- gen.yaml | 4 ++-- lib/build.gradle | 2 +- lib/src/main/java/com/airbyte/api/Airbyte.java | 2 +- lib/src/main/java/com/airbyte/api/Connections.java | 4 ++++ lib/src/main/java/com/airbyte/api/Destinations.java | 4 ++++ lib/src/main/java/com/airbyte/api/Jobs.java | 4 ++++ lib/src/main/java/com/airbyte/api/Sources.java | 5 +++++ lib/src/main/java/com/airbyte/api/Streams.java | 1 + lib/src/main/java/com/airbyte/api/Workspaces.java | 4 ++++ 11 files changed, 36 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 13a96b3f3..e253e08c6 100755 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The Developer Portal UI can also be used to help build your integration by showi ### Gradle ```groovy -implementation 'com.airbyte.api:public-api:0.2.0' +implementation 'com.airbyte.api:public-api:0.2.1' ``` diff --git a/RELEASES.md b/RELEASES.md index 43dec5be5..8f9886a75 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -151,4 +151,12 @@ Based on: - OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download - Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy ### Releases -- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.airbyte/api/0.2.0 - . \ No newline at end of file +- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.airbyte/api/0.2.0 - . + +## 2023-04-24 17:29:29 +### Changes +Based on: +- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download +- Speakeasy CLI 1.22.2 (2.20.1) https://github.com/speakeasy-api/speakeasy +### Releases +- [Maven Central v0.2.1] https://central.sonatype.com/artifact/com.airbyte/api/0.2.1 - . \ No newline at end of file diff --git a/gen.yaml b/gen.yaml index 2fac94d4b..0abe71642 100644 --- a/gen.yaml +++ b/gen.yaml @@ -2,14 +2,14 @@ configVersion: 1.0.0 management: docChecksum: b33273ead3e10c4bc4f9bfeed6ad97a4 docVersion: 1.0.0 - speakeasyVersion: 1.22.1 + speakeasyVersion: 1.22.2 generationVersion: 2.20.1 generation: telemetryEnabled: true sdkClassName: airbyte singleTagPerOp: false java: - version: 0.2.0 + version: 0.2.1 artifactID: api companyEmail: info@airbyte.com companyName: Airbyte diff --git a/lib/build.gradle b/lib/build.gradle index 91cf7a762..ec6147d0c 100755 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -41,7 +41,7 @@ publishing { maven(MavenPublication) { groupId = 'com.airbyte' artifactId = 'api' - version = '0.2.0' + version = '0.2.1' from components.java diff --git a/lib/src/main/java/com/airbyte/api/Airbyte.java b/lib/src/main/java/com/airbyte/api/Airbyte.java index 2b880bc2f..c343117ae 100755 --- a/lib/src/main/java/com/airbyte/api/Airbyte.java +++ b/lib/src/main/java/com/airbyte/api/Airbyte.java @@ -30,7 +30,7 @@ public class Airbyte { private com.airbyte.api.models.shared.Security _security; private String _serverUrl; private String _language = "java"; - private String _sdkVersion = "0.2.0"; + private String _sdkVersion = "0.2.1"; private String _genVersion = "2.20.1"; /** * The Builder class allows the configuration of a new instance of the SDK. diff --git a/lib/src/main/java/com/airbyte/api/Connections.java b/lib/src/main/java/com/airbyte/api/Connections.java index 7420f7216..70bf141f5 100755 --- a/lib/src/main/java/com/airbyte/api/Connections.java +++ b/lib/src/main/java/com/airbyte/api/Connections.java @@ -50,6 +50,7 @@ public com.airbyte.api.models.operations.CreateConnectionResponse createConnecti } req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -89,6 +90,7 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti req.setMethod("DELETE"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -120,6 +122,7 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection(com req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -159,6 +162,7 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListConnectionsRequest.class, request, null); if (queryParams != null) { for (NameValuePair queryParam : queryParams) { diff --git a/lib/src/main/java/com/airbyte/api/Destinations.java b/lib/src/main/java/com/airbyte/api/Destinations.java index f801613e7..7bc7d9708 100755 --- a/lib/src/main/java/com/airbyte/api/Destinations.java +++ b/lib/src/main/java/com/airbyte/api/Destinations.java @@ -48,6 +48,7 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "request", "json"); req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -87,6 +88,7 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina req.setMethod("DELETE"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -118,6 +120,7 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination(c req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -157,6 +160,7 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListDestinationsRequest.class, request, null); if (queryParams != null) { for (NameValuePair queryParam : queryParams) { diff --git a/lib/src/main/java/com/airbyte/api/Jobs.java b/lib/src/main/java/com/airbyte/api/Jobs.java index ff3b3d8ea..9acb21728 100755 --- a/lib/src/main/java/com/airbyte/api/Jobs.java +++ b/lib/src/main/java/com/airbyte/api/Jobs.java @@ -45,6 +45,7 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob(com.airbyte req.setMethod("DELETE"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -89,6 +90,7 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob(com.airbyte } req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -128,6 +130,7 @@ public com.airbyte.api.models.operations.GetJobResponse getJob(com.airbyte.api.m req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -167,6 +170,7 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs(com.airbyte.a req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListJobsRequest.class, request, null); if (queryParams != null) { for (NameValuePair queryParam : queryParams) { diff --git a/lib/src/main/java/com/airbyte/api/Sources.java b/lib/src/main/java/com/airbyte/api/Sources.java index b4605d3e7..1d39c0ea5 100755 --- a/lib/src/main/java/com/airbyte/api/Sources.java +++ b/lib/src/main/java/com/airbyte/api/Sources.java @@ -48,6 +48,7 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource(com.a SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "request", "json"); req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -87,6 +88,7 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.a req.setMethod("DELETE"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -118,6 +120,7 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource(com.airbyte req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -167,6 +170,7 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com } req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -198,6 +202,7 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources(com.air req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListSourcesRequest.class, request, null); if (queryParams != null) { for (NameValuePair queryParam : queryParams) { diff --git a/lib/src/main/java/com/airbyte/api/Streams.java b/lib/src/main/java/com/airbyte/api/Streams.java index 06e95a953..968110a7e 100755 --- a/lib/src/main/java/com/airbyte/api/Streams.java +++ b/lib/src/main/java/com/airbyte/api/Streams.java @@ -44,6 +44,7 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.GetStreamPropertiesRequest.class, request, null); if (queryParams != null) { for (NameValuePair queryParam : queryParams) { diff --git a/lib/src/main/java/com/airbyte/api/Workspaces.java b/lib/src/main/java/com/airbyte/api/Workspaces.java index a6c18950b..0bc169d04 100755 --- a/lib/src/main/java/com/airbyte/api/Workspaces.java +++ b/lib/src/main/java/com/airbyte/api/Workspaces.java @@ -52,6 +52,7 @@ public com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentials } req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -88,6 +89,7 @@ public com.airbyte.api.models.operations.CreateWorkspaceResponse createWorkspace } req.setBody(serializedRequestBody); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -127,6 +129,7 @@ public com.airbyte.api.models.operations.GetWorkspaceResponse getWorkspace(com.a req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); HTTPClient client = this._securityClient; @@ -166,6 +169,7 @@ public com.airbyte.api.models.operations.ListWorkspacesResponse listWorkspaces(c req.setMethod("GET"); req.setURL(url); + req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion)); java.util.List queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListWorkspacesRequest.class, request, null); if (queryParams != null) { for (NameValuePair queryParam : queryParams) {