Skip to content

Commit

Permalink
Merge pull request #17 from airbytehq/speakeasy-sdk-regen-1682357372
Browse files Browse the repository at this point in the history
chore: speakeasy sdk regeneration - Generate
  • Loading branch information
bgroff authored Apr 24, 2023
2 parents fc07db1 + caa9d1d commit ccc5c48
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```
<!-- End SDK Installation -->

Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
4 changes: 2 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
companyName: Airbyte
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.airbyte'
artifactId = 'api'
version = '0.2.0'
version = '0.2.1'

from components.java

Expand Down
2 changes: 1 addition & 1 deletion lib/src/main/java/com/airbyte/api/Airbyte.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions lib/src/main/java/com/airbyte/api/Connections.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListConnectionsRequest.class, request, null);
if (queryParams != null) {
for (NameValuePair queryParam : queryParams) {
Expand Down
4 changes: 4 additions & 0 deletions lib/src/main/java/com/airbyte/api/Destinations.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListDestinationsRequest.class, request, null);
if (queryParams != null) {
for (NameValuePair queryParam : queryParams) {
Expand Down
4 changes: 4 additions & 0 deletions lib/src/main/java/com/airbyte/api/Jobs.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListJobsRequest.class, request, null);
if (queryParams != null) {
for (NameValuePair queryParam : queryParams) {
Expand Down
5 changes: 5 additions & 0 deletions lib/src/main/java/com/airbyte/api/Sources.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListSourcesRequest.class, request, null);
if (queryParams != null) {
for (NameValuePair queryParam : queryParams) {
Expand Down
1 change: 1 addition & 0 deletions lib/src/main/java/com/airbyte/api/Streams.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.GetStreamPropertiesRequest.class, request, null);
if (queryParams != null) {
for (NameValuePair queryParam : queryParams) {
Expand Down
4 changes: 4 additions & 0 deletions lib/src/main/java/com/airbyte/api/Workspaces.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListWorkspacesRequest.class, request, null);
if (queryParams != null) {
for (NameValuePair queryParam : queryParams) {
Expand Down

0 comments on commit ccc5c48

Please sign in to comment.