Skip to content

Commit 3deee9d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.581.0
1 parent 04b5134 commit 3deee9d

File tree

3,346 files changed

+63611
-41531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,346 files changed

+63611
-41531
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
13
.speakeasy/reports
24
# Ignore IDE-specific configs
35
.project

.speakeasy/gen.lock

Lines changed: 345 additions & 116 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.533.0
1+
speakeasyVersion: 1.581.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
@@ -9,11 +9,11 @@ sources:
99
- main
1010
sample-source:
1111
sourceNamespace: my-source
12-
sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3
13-
sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a
12+
sourceRevisionDigest: sha256:54a22b9df649d87202bb0895b59cc91db033c1575ff251881e7163414bbd41ac
13+
sourceBlobDigest: sha256:b8ee114339ed7bcbd1b90b7e1a64598cace619430264ea8b4ad05693d6be7f38
1414
tags:
1515
- latest
16-
- speakeasy-sdk-regen-1733962674
16+
- speakeasy-sdk-regen-1751588379
1717
- 1.0.0
1818
targets:
1919
airbyte-api:
@@ -24,10 +24,10 @@ targets:
2424
testing:
2525
source: sample-source
2626
sourceNamespace: my-source
27-
sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3
28-
sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a
27+
sourceRevisionDigest: sha256:54a22b9df649d87202bb0895b59cc91db033c1575ff251881e7163414bbd41ac
28+
sourceBlobDigest: sha256:b8ee114339ed7bcbd1b90b7e1a64598cace619430264ea8b4ad05693d6be7f38
2929
codeSamplesNamespace: my-source-java-code-samples
30-
codeSamplesRevisionDigest: sha256:b4a63e27822e0b961739d46a6b15049756d339c93f1008fae50a8052afce6cd9
30+
codeSamplesRevisionDigest: sha256:3ca146eee7be0e0a87aa08416d0c2c2c3d3e66461ddaead3967536adb75f8efb
3131
workflow:
3232
workflowVersion: 1.0.0
3333
speakeasyVersion: latest

README.md

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ airbyte-api: Programmatically control Airbyte Cloud, OSS & Enterprise.
2525
* [Available Resources and Operations](#available-resources-and-operations)
2626
* [Error Handling](#error-handling)
2727
* [Server Selection](#server-selection)
28+
* [Debugging](#debugging)
2829
* [Development](#development)
2930
* [Maturity](#maturity)
3031
* [Contributions](#contributions)
@@ -42,15 +43,15 @@ The samples below show how a published SDK artifact is used:
4243

4344
Gradle:
4445
```groovy
45-
implementation 'com.airbyte:api:2.0.0'
46+
implementation 'com.airbyte:api:2.1.0'
4647
```
4748

4849
Maven:
4950
```xml
5051
<dependency>
5152
<groupId>com.airbyte</groupId>
5253
<artifactId>api</artifactId>
53-
<version>2.0.0</version>
54+
<version>2.1.0</version>
5455
</dependency>
5556
```
5657

@@ -67,29 +68,6 @@ On Windows:
6768
```bash
6869
gradlew.bat publishToMavenLocal -Pskip.signing
6970
```
70-
71-
### Logging
72-
A logging framework/facade has not yet been adopted but is under consideration.
73-
74-
For request and response logging (especially json bodies) use:
75-
```java
76-
SpeakeasyHTTPClient.setDebugLogging(true); // experimental API only (may change without warning)
77-
```
78-
Example output:
79-
```
80-
Sending request: http://localhost:35123/bearer#global GET
81-
Request headers: {Accept=[application/json], Authorization=[******], Client-Level-Header=[added by client], Idempotency-Key=[some-key], x-speakeasy-user-agent=[speakeasy-sdk/java 0.0.1 internal 0.1.0 org.openapis.openapi]}
82-
Received response: (GET http://localhost:35123/bearer#global) 200
83-
Response headers: {access-control-allow-credentials=[true], access-control-allow-origin=[*], connection=[keep-alive], content-length=[50], content-type=[application/json], date=[Wed, 09 Apr 2025 01:43:29 GMT], server=[gunicorn/19.9.0]}
84-
Response body:
85-
{
86-
"authenticated": true,
87-
"token": "global"
88-
}
89-
```
90-
WARNING: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
91-
92-
Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
9371
<!-- End SDK Installation [installation] -->
9472

9573
<!-- Start SDK Example Usage [usage] -->
@@ -122,6 +100,7 @@ public class Application {
122100
.destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281")
123101
.sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93")
124102
.name("Postgres-to-Bigquery")
103+
.namespaceFormat("${SOURCE_NAMESPACE}")
125104
.build();
126105

127106
CreateConnectionResponse res = sdk.connections().createConnection()
@@ -175,6 +154,7 @@ public class Application {
175154
.destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281")
176155
.sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93")
177156
.name("Postgres-to-Bigquery")
157+
.namespaceFormat("${SOURCE_NAMESPACE}")
178158
.build();
179159

180160
CreateConnectionResponse res = sdk.connections().createConnection()
@@ -242,6 +222,7 @@ public class Application {
242222

243223
### [organizations()](docs/sdks/organizations/README.md)
244224

225+
* [createOrUpdateOrganizationOAuthCredentials](docs/sdks/organizations/README.md#createorupdateorganizationoauthcredentials) - Create OAuth override credentials for an organization and source type.
245226
* [listOrganizationsForUser](docs/sdks/organizations/README.md#listorganizationsforuser) - List all organizations for a user
246227

247228
### [permissions()](docs/sdks/permissions/README.md)
@@ -336,6 +317,7 @@ public class Application {
336317
.destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281")
337318
.sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93")
338319
.name("Postgres-to-Bigquery")
320+
.namespaceFormat("${SOURCE_NAMESPACE}")
339321
.build();
340322

341323
CreateConnectionResponse res = sdk.connections().createConnection()
@@ -382,6 +364,7 @@ public class Application {
382364
.destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281")
383365
.sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93")
384366
.name("Postgres-to-Bigquery")
367+
.namespaceFormat("${SOURCE_NAMESPACE}")
385368
.build();
386369

387370
CreateConnectionResponse res = sdk.connections().createConnection()
@@ -396,6 +379,37 @@ public class Application {
396379
```
397380
<!-- End Server Selection [server] -->
398381

382+
<!-- Start Debugging [debug] -->
383+
## Debugging
384+
385+
### Debug
386+
You can setup your SDK to emit debug logs for SDK requests and responses.
387+
388+
For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:
389+
```java
390+
SDK.builder()
391+
.enableHTTPDebugLogging(true)
392+
.build();
393+
```
394+
Example output:
395+
```
396+
Sending request: http://localhost:35123/bearer#global GET
397+
Request headers: {Accept=[application/json], Authorization=[******], Client-Level-Header=[added by client], Idempotency-Key=[some-key], x-speakeasy-user-agent=[speakeasy-sdk/java 0.0.1 internal 0.1.0 org.openapis.openapi]}
398+
Received response: (GET http://localhost:35123/bearer#global) 200
399+
Response headers: {access-control-allow-credentials=[true], access-control-allow-origin=[*], connection=[keep-alive], content-length=[50], content-type=[application/json], date=[Wed, 09 Apr 2025 01:43:29 GMT], server=[gunicorn/19.9.0]}
400+
Response body:
401+
{
402+
"authenticated": true,
403+
"token": "global"
404+
}
405+
```
406+
__WARNING__: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
407+
408+
__NOTE__: This is a convenience method that calls `HTTPClient.enableDebugLogging()`. The `SpeakeasyHTTPClient` honors this setting. If you are using a custom HTTP client, it is up to the custom client to honor this setting.
409+
410+
Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
411+
<!-- End Debugging [debug] -->
412+
399413
<!-- Placeholder for Future Speakeasy SDK Sections -->
400414

401415
# Development

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1201,4 +1201,14 @@ Based on:
12011201
### Generated
12021202
- [java v2.0.0] .
12031203
### Releases
1204-
- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.airbyte/api/2.0.0 - .
1204+
- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.airbyte/api/2.0.0 - .
1205+
1206+
## 2025-07-14 00:21:07
1207+
### Changes
1208+
Based on:
1209+
- OpenAPI Doc
1210+
- Speakeasy CLI 1.581.0 (2.656.5) https://github.com/speakeasy-api/speakeasy
1211+
### Generated
1212+
- [java v2.1.0] .
1213+
### Releases
1214+
- [Maven Central v2.1.0] https://central.sonatype.com/artifact/com.airbyte/api/2.1.0 - .

USAGE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class Application {
2424
.destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281")
2525
.sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93")
2626
.name("Postgres-to-Bigquery")
27+
.namespaceFormat("${SOURCE_NAMESPACE}")
2728
.build();
2829

2930
CreateConnectionResponse res = sdk.connections().createConnection()

build.gradle

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ repositories {
2727
}
2828

2929
java {
30-
sourceCompatibility = JavaVersion.VERSION_11
31-
targetCompatibility = JavaVersion.VERSION_11
3230
withSourcesJar()
3331
withJavadocJar()
3432
}
@@ -65,6 +63,10 @@ tasks.withType(Javadoc) {
6563
options.addStringOption('Xdoclint:none', '-quiet')
6664
}
6765

66+
tasks.withType(JavaCompile).configureEach {
67+
options.release = 11
68+
}
69+
6870
sourcesJar {
6971
archiveBaseName = "${artifactId}"
7072
}
@@ -103,11 +105,15 @@ publishing {
103105
// https://github.com/gradle/gradle/issues/18619
104106
groupId = "com.airbyte"
105107
artifactId = "api"
106-
version = "2.0.0"
108+
version = "2.1.0"
107109

108110
from components.java
109111

110112
pom {
113+
properties = [
114+
'maven.compiler.source': '11',
115+
'maven.compiler.target': '11',
116+
]
111117
name = 'Airbyte Java SDK'
112118
description = 'SDK enabling Java developers to easily integrate with the Airbyte API.'
113119
url = 'https://github.com/airbytehq/airbyte-api-java-sdk'
@@ -157,4 +163,4 @@ dependencies {
157163
implementation 'commons-io:commons-io:2.18.0'
158164
}
159165

160-
apply from: 'build-extras.gradle'
166+
apply from: 'build-extras.gradle'
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# CreateOrUpdateOrganizationOAuthCredentialsRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
8+
| `organizationOAuthCredentialsRequest` | [OrganizationOAuthCredentialsRequest](../../models/shared/OrganizationOAuthCredentialsRequest.md) | :heavy_check_mark: | N/A |
9+
| `organizationId` | *String* | :heavy_check_mark: | N/A |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CreateOrUpdateOrganizationOAuthCredentialsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
8+
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
9+
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
10+
| `rawResponse` | [HttpResponse\<InputStream>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |

0 commit comments

Comments
 (0)