Skip to content

Commit 596f7a9

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.29.0
1 parent b942bad commit 596f7a9

File tree

12 files changed

+25
-153
lines changed

12 files changed

+25
-153
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.6.0'
24+
implementation 'com.airbyte.api:public-api:0.7.0'
2525
```
2626
<!-- End SDK Installation -->
2727

RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,12 @@ Based on:
215215
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
216216
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
217217
### Releases
218-
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/com.airbyte/api/0.6.0 - .
218+
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/com.airbyte/api/0.6.0 - .
219+
220+
## 2023-05-05 00:11:13
221+
### Changes
222+
Based on:
223+
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
224+
- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy
225+
### Releases
226+
- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.airbyte/api/0.7.0 - .

gen.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ configVersion: 1.0.0
22
management:
33
docChecksum: b33273ead3e10c4bc4f9bfeed6ad97a4
44
docVersion: 1.0.0
5-
speakeasyVersion: 1.27.0
6-
generationVersion: 2.24.0
5+
speakeasyVersion: 1.29.0
6+
generationVersion: 2.26.0
77
generation:
88
telemetryEnabled: true
99
sdkClassName: airbyte
1010
singleTagPerOp: false
1111
java:
12-
version: 0.6.0
12+
version: 0.7.0
1313
artifactID: api
1414
companyEmail: info@airbyte.com
1515
companyName: Airbyte
1616
companyURL: www.airbyte.com
1717
githubURL: github.com/airbytehq/airbyte-api-java-sdk
1818
groupID: com.airbyte
19+
maxMethodParams: 0
1920
ossrhURL: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
2021
projectName: public-api

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.6.0'
44+
version = '0.7.0'
4545

4646
from components.java
4747

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ 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.6.0";
34-
private String _genVersion = "2.24.0";
33+
private String _sdkVersion = "0.7.0";
34+
private String _genVersion = "2.26.0";
3535
/**
3636
* The Builder class allows the configuration of a new instance of the SDK.
3737
*/

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ public Connections(HTTPClient defaultClient, HTTPClient securityClient, String s
3131
this._genVersion = genVersion;
3232
}
3333

34-
/**
35-
* Create a connection
36-
* @param request the request object containing all of the parameters for the API call
37-
* @return the response from the API call
38-
* @throws Exception if the API call fails
39-
*/
4034
public com.airbyte.api.models.operations.CreateConnectionResponse createConnection(com.airbyte.api.models.shared.ConnectionCreateRequest request) throws Exception {
4135
String baseUrl = this._serverUrl;
4236
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/connections");
@@ -76,12 +70,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
7670
return res;
7771
}
7872

79-
/**
80-
* Delete a Connection
81-
* @param request the request object containing all of the parameters for the API call
82-
* @return the response from the API call
83-
* @throws Exception if the API call fails
84-
*/
8573
public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnection(com.airbyte.api.models.operations.DeleteConnectionRequest request) throws Exception {
8674
String baseUrl = this._serverUrl;
8775
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null);
@@ -108,12 +96,6 @@ public com.airbyte.api.models.operations.DeleteConnectionResponse deleteConnecti
10896
return res;
10997
}
11098

111-
/**
112-
* Get Connection details
113-
* @param request the request object containing all of the parameters for the API call
114-
* @return the response from the API call
115-
* @throws Exception if the API call fails
116-
*/
11799
public com.airbyte.api.models.operations.GetConnectionResponse getConnection(com.airbyte.api.models.operations.GetConnectionRequest request) throws Exception {
118100
String baseUrl = this._serverUrl;
119101
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetConnectionRequest.class, baseUrl, "/connections/{connectionId}", request, null);
@@ -148,12 +130,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
148130
return res;
149131
}
150132

151-
/**
152-
* List connections
153-
* @param request the request object containing all of the parameters for the API call
154-
* @return the response from the API call
155-
* @throws Exception if the API call fails
156-
*/
157133
public com.airbyte.api.models.operations.ListConnectionsResponse listConnections(com.airbyte.api.models.operations.ListConnectionsRequest request) throws Exception {
158134
String baseUrl = this._serverUrl;
159135
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/connections");

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ public Destinations(HTTPClient defaultClient, HTTPClient securityClient, String
3131
this._genVersion = genVersion;
3232
}
3333

34-
/**
35-
* Create a destination
36-
* Creates a destination given a name, workspace id, and a json blob containing the configuration for the source.
37-
* @param request the request object containing all of the parameters for the API call
38-
* @return the response from the API call
39-
* @throws Exception if the API call fails
40-
*/
4134
public com.airbyte.api.models.operations.CreateDestinationResponse createDestination(com.airbyte.api.models.shared.DestinationCreateRequest request) throws Exception {
4235
String baseUrl = this._serverUrl;
4336
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/destinations");
@@ -74,12 +67,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403 || httpRes.s
7467
return res;
7568
}
7669

77-
/**
78-
* Delete a Destination
79-
* @param request the request object containing all of the parameters for the API call
80-
* @return the response from the API call
81-
* @throws Exception if the API call fails
82-
*/
8370
public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestination(com.airbyte.api.models.operations.DeleteDestinationRequest request) throws Exception {
8471
String baseUrl = this._serverUrl;
8572
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null);
@@ -106,12 +93,6 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina
10693
return res;
10794
}
10895

109-
/**
110-
* Get Destination details
111-
* @param request the request object containing all of the parameters for the API call
112-
* @return the response from the API call
113-
* @throws Exception if the API call fails
114-
*/
11596
public com.airbyte.api.models.operations.GetDestinationResponse getDestination(com.airbyte.api.models.operations.GetDestinationRequest request) throws Exception {
11697
String baseUrl = this._serverUrl;
11798
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetDestinationRequest.class, baseUrl, "/destinations/{destinationId}", request, null);
@@ -146,12 +127,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
146127
return res;
147128
}
148129

149-
/**
150-
* List destinations
151-
* @param request the request object containing all of the parameters for the API call
152-
* @return the response from the API call
153-
* @throws Exception if the API call fails
154-
*/
155130
public com.airbyte.api.models.operations.ListDestinationsResponse listDestinations(com.airbyte.api.models.operations.ListDestinationsRequest request) throws Exception {
156131
String baseUrl = this._serverUrl;
157132
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/destinations");

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ public Jobs(HTTPClient defaultClient, HTTPClient securityClient, String serverUr
3131
this._genVersion = genVersion;
3232
}
3333

34-
/**
35-
* Cancel a running Job
36-
* @param request the request object containing all of the parameters for the API call
37-
* @return the response from the API call
38-
* @throws Exception if the API call fails
39-
*/
4034
public com.airbyte.api.models.operations.CancelJobResponse cancelJob(com.airbyte.api.models.operations.CancelJobRequest request) throws Exception {
4135
String baseUrl = this._serverUrl;
4236
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.CancelJobRequest.class, baseUrl, "/jobs/{jobId}", request, null);
@@ -71,12 +65,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
7165
return res;
7266
}
7367

74-
/**
75-
* Trigger a sync or reset job of a connection
76-
* @param request the request object containing all of the parameters for the API call
77-
* @return the response from the API call
78-
* @throws Exception if the API call fails
79-
*/
8068
public com.airbyte.api.models.operations.CreateJobResponse createJob(com.airbyte.api.models.shared.JobCreateRequest request) throws Exception {
8169
String baseUrl = this._serverUrl;
8270
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/jobs");
@@ -116,12 +104,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
116104
return res;
117105
}
118106

119-
/**
120-
* Get Job status and details
121-
* @param request the request object containing all of the parameters for the API call
122-
* @return the response from the API call
123-
* @throws Exception if the API call fails
124-
*/
125107
public com.airbyte.api.models.operations.GetJobResponse getJob(com.airbyte.api.models.operations.GetJobRequest request) throws Exception {
126108
String baseUrl = this._serverUrl;
127109
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetJobRequest.class, baseUrl, "/jobs/{jobId}", request, null);
@@ -156,12 +138,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
156138
return res;
157139
}
158140

159-
/**
160-
* List Jobs by sync type
161-
* @param request the request object containing all of the parameters for the API call
162-
* @return the response from the API call
163-
* @throws Exception if the API call fails
164-
*/
165141
public com.airbyte.api.models.operations.ListJobsResponse listJobs(com.airbyte.api.models.operations.ListJobsRequest request) throws Exception {
166142
String baseUrl = this._serverUrl;
167143
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/jobs");

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

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ public Sources(HTTPClient defaultClient, HTTPClient securityClient, String serve
3131
this._genVersion = genVersion;
3232
}
3333

34-
/**
35-
* Create a source
36-
* Creates a source given a name, workspace id, and a json blob containing the configuration for the source.
37-
* @param request the request object containing all of the parameters for the API call
38-
* @return the response from the API call
39-
* @throws Exception if the API call fails
40-
*/
4134
public com.airbyte.api.models.operations.CreateSourceResponse createSource(com.airbyte.api.models.shared.SourceCreateRequest request) throws Exception {
4235
String baseUrl = this._serverUrl;
4336
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/sources");
@@ -74,12 +67,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
7467
return res;
7568
}
7669

77-
/**
78-
* Delete a Source
79-
* @param request the request object containing all of the parameters for the API call
80-
* @return the response from the API call
81-
* @throws Exception if the API call fails
82-
*/
8370
public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.airbyte.api.models.operations.DeleteSourceRequest request) throws Exception {
8471
String baseUrl = this._serverUrl;
8572
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.DeleteSourceRequest.class, baseUrl, "/sources/{sourceId}", request, null);
@@ -106,12 +93,6 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.a
10693
return res;
10794
}
10895

109-
/**
110-
* Get Source details
111-
* @param request the request object containing all of the parameters for the API call
112-
* @return the response from the API call
113-
* @throws Exception if the API call fails
114-
*/
11596
public com.airbyte.api.models.operations.GetSourceResponse getSource(com.airbyte.api.models.operations.GetSourceRequest request) throws Exception {
11697
String baseUrl = this._serverUrl;
11798
String url = com.airbyte.api.utils.Utils.generateURL(com.airbyte.api.models.operations.GetSourceRequest.class, baseUrl, "/sources/{sourceId}", request, null);
@@ -146,17 +127,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
146127
return res;
147128
}
148129

149-
/**
150-
* Initiate OAuth for a source
151-
* Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source.
152-
*
153-
* This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter.
154-
*
155-
* That secret ID can be used to create a source with credentials in place of actual tokens.
156-
* @param request the request object containing all of the parameters for the API call
157-
* @return the response from the API call
158-
* @throws Exception if the API call fails
159-
*/
160130
public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com.airbyte.api.models.shared.InitiateOauthRequest request) throws Exception {
161131
String baseUrl = this._serverUrl;
162132
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/sources/initiateOAuth");
@@ -188,12 +158,6 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com
188158
return res;
189159
}
190160

191-
/**
192-
* List sources
193-
* @param request the request object containing all of the parameters for the API call
194-
* @return the response from the API call
195-
* @throws Exception if the API call fails
196-
*/
197161
public com.airbyte.api.models.operations.ListSourcesResponse listSources(com.airbyte.api.models.operations.ListSourcesRequest request) throws Exception {
198162
String baseUrl = this._serverUrl;
199163
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/sources");

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ public Streams(HTTPClient defaultClient, HTTPClient securityClient, String serve
3030
this._genVersion = genVersion;
3131
}
3232

33-
/**
34-
* Get stream properties
35-
* @param request the request object containing all of the parameters for the API call
36-
* @return the response from the API call
37-
* @throws Exception if the API call fails
38-
*/
3933
public com.airbyte.api.models.operations.GetStreamPropertiesResponse getStreamProperties(com.airbyte.api.models.operations.GetStreamPropertiesRequest request) throws Exception {
4034
String baseUrl = this._serverUrl;
4135
String url = com.airbyte.api.utils.Utils.generateURL(baseUrl, "/streams");

0 commit comments

Comments
 (0)