Skip to content

Commit ccc5c48

Browse files
authored
Merge pull request #17 from airbytehq/speakeasy-sdk-regen-1682357372
chore: speakeasy sdk regeneration - Generate
2 parents fc07db1 + caa9d1d commit ccc5c48

File tree

11 files changed

+36
-6
lines changed

11 files changed

+36
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The Developer Portal UI can also be used to help build your integration by showi
2121
### Gradle
2222

2323
```groovy
24-
implementation 'com.airbyte.api:public-api:0.2.0'
24+
implementation 'com.airbyte.api:public-api:0.2.1'
2525
```
2626
<!-- End SDK Installation -->
2727

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,12 @@ Based on:
151151
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
152152
- Speakeasy CLI 1.22.1 (2.20.1) https://github.com/speakeasy-api/speakeasy
153153
### Releases
154-
- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.airbyte/api/0.2.0 - .
154+
- [Maven Central v0.2.0] https://central.sonatype.com/artifact/com.airbyte/api/0.2.0 - .
155+
156+
## 2023-04-24 17:29:29
157+
### Changes
158+
Based on:
159+
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
160+
- Speakeasy CLI 1.22.2 (2.20.1) https://github.com/speakeasy-api/speakeasy
161+
### Releases
162+
- [Maven Central v0.2.1] https://central.sonatype.com/artifact/com.airbyte/api/0.2.1 - .

gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ configVersion: 1.0.0
22
management:
33
docChecksum: b33273ead3e10c4bc4f9bfeed6ad97a4
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.22.1
5+
speakeasyVersion: 1.22.2
66
generationVersion: 2.20.1
77
generation:
88
telemetryEnabled: true
99
sdkClassName: airbyte
1010
singleTagPerOp: false
1111
java:
12-
version: 0.2.0
12+
version: 0.2.1
1313
artifactID: api
1414
companyEmail: info@airbyte.com
1515
companyName: Airbyte

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ publishing {
4141
maven(MavenPublication) {
4242
groupId = 'com.airbyte'
4343
artifactId = 'api'
44-
version = '0.2.0'
44+
version = '0.2.1'
4545

4646
from components.java
4747

lib/src/main/java/com/airbyte/api/Airbyte.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class Airbyte {
3030
private com.airbyte.api.models.shared.Security _security;
3131
private String _serverUrl;
3232
private String _language = "java";
33-
private String _sdkVersion = "0.2.0";
33+
private String _sdkVersion = "0.2.1";
3434
private String _genVersion = "2.20.1";
3535
/**
3636
* The Builder class allows the configuration of a new instance of the SDK.

lib/src/main/java/com/airbyte/api/Connections.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public com.airbyte.api.models.operations.CreateConnectionResponse createConnecti
5050
}
5151
req.setBody(serializedRequestBody);
5252

53+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
5354

5455
HTTPClient client = this._securityClient;
5556

@@ -89,6 +90,7 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti
8990
req.setMethod("DELETE");
9091
req.setURL(url);
9192

93+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
9294

9395
HTTPClient client = this._securityClient;
9496

@@ -120,6 +122,7 @@ public com.airbyte.api.models.operations.GetConnectionResponse getConnection(com
120122
req.setMethod("GET");
121123
req.setURL(url);
122124

125+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
123126

124127
HTTPClient client = this._securityClient;
125128

@@ -159,6 +162,7 @@ public com.airbyte.api.models.operations.ListConnectionsResponse listConnections
159162
req.setMethod("GET");
160163
req.setURL(url);
161164

165+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
162166
java.util.List<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListConnectionsRequest.class, request, null);
163167
if (queryParams != null) {
164168
for (NameValuePair queryParam : queryParams) {

lib/src/main/java/com/airbyte/api/Destinations.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public com.airbyte.api.models.operations.CreateDestinationResponse createDestina
4848
SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "request", "json");
4949
req.setBody(serializedRequestBody);
5050

51+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
5152

5253
HTTPClient client = this._securityClient;
5354

@@ -87,6 +88,7 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina
8788
req.setMethod("DELETE");
8889
req.setURL(url);
8990

91+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
9092

9193
HTTPClient client = this._securityClient;
9294

@@ -118,6 +120,7 @@ public com.airbyte.api.models.operations.GetDestinationResponse getDestination(c
118120
req.setMethod("GET");
119121
req.setURL(url);
120122

123+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
121124

122125
HTTPClient client = this._securityClient;
123126

@@ -157,6 +160,7 @@ public com.airbyte.api.models.operations.ListDestinationsResponse listDestinatio
157160
req.setMethod("GET");
158161
req.setURL(url);
159162

163+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
160164
java.util.List<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListDestinationsRequest.class, request, null);
161165
if (queryParams != null) {
162166
for (NameValuePair queryParam : queryParams) {

lib/src/main/java/com/airbyte/api/Jobs.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public com.airbyte.api.models.operations.CancelJobResponse cancelJob(com.airbyte
4545
req.setMethod("DELETE");
4646
req.setURL(url);
4747

48+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
4849

4950
HTTPClient client = this._securityClient;
5051

@@ -89,6 +90,7 @@ public com.airbyte.api.models.operations.CreateJobResponse createJob(com.airbyte
8990
}
9091
req.setBody(serializedRequestBody);
9192

93+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
9294

9395
HTTPClient client = this._securityClient;
9496

@@ -128,6 +130,7 @@ public com.airbyte.api.models.operations.GetJobResponse getJob(com.airbyte.api.m
128130
req.setMethod("GET");
129131
req.setURL(url);
130132

133+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
131134

132135
HTTPClient client = this._securityClient;
133136

@@ -167,6 +170,7 @@ public com.airbyte.api.models.operations.ListJobsResponse listJobs(com.airbyte.a
167170
req.setMethod("GET");
168171
req.setURL(url);
169172

173+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
170174
java.util.List<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListJobsRequest.class, request, null);
171175
if (queryParams != null) {
172176
for (NameValuePair queryParam : queryParams) {

lib/src/main/java/com/airbyte/api/Sources.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public com.airbyte.api.models.operations.CreateSourceResponse createSource(com.a
4848
SerializedBody serializedRequestBody = com.airbyte.api.utils.Utils.serializeRequestBody(request, "request", "json");
4949
req.setBody(serializedRequestBody);
5050

51+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
5152

5253
HTTPClient client = this._securityClient;
5354

@@ -87,6 +88,7 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.a
8788
req.setMethod("DELETE");
8889
req.setURL(url);
8990

91+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
9092

9193
HTTPClient client = this._securityClient;
9294

@@ -118,6 +120,7 @@ public com.airbyte.api.models.operations.GetSourceResponse getSource(com.airbyte
118120
req.setMethod("GET");
119121
req.setURL(url);
120122

123+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
121124

122125
HTTPClient client = this._securityClient;
123126

@@ -167,6 +170,7 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com
167170
}
168171
req.setBody(serializedRequestBody);
169172

173+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
170174

171175
HTTPClient client = this._securityClient;
172176

@@ -198,6 +202,7 @@ public com.airbyte.api.models.operations.ListSourcesResponse listSources(com.air
198202
req.setMethod("GET");
199203
req.setURL(url);
200204

205+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
201206
java.util.List<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.ListSourcesRequest.class, request, null);
202207
if (queryParams != null) {
203208
for (NameValuePair queryParam : queryParams) {

lib/src/main/java/com/airbyte/api/Streams.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamPr
4444
req.setMethod("GET");
4545
req.setURL(url);
4646

47+
req.addHeader("user-agent", String.format("speakeasy-sdk/%s %s %s", this._language, this._sdkVersion, this._genVersion));
4748
java.util.List<NameValuePair> queryParams = com.airbyte.api.utils.Utils.getQueryParams(com.airbyte.api.models.operations.GetStreamPropertiesRequest.class, request, null);
4849
if (queryParams != null) {
4950
for (NameValuePair queryParam : queryParams) {

0 commit comments

Comments
 (0)