Skip to content

Commit 4979a83

Browse files
committed
## Java SDK Changes Detected:
* `airbyte.destinations.patchDestination()`: * `request.destinationPatchRequest.configuration` **Changed** **Breaking** ⚠️ * `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.sources.createSource()`: * `request.configuration` **Changed** **Breaking** ⚠️ * `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.connections.getConnection()`: `response` **Changed** **Breaking** ⚠️ * `airbyte.connections.listConnections()`: `response.data.[]` **Changed** **Breaking** ⚠️ * `airbyte.connections.patchConnection()`: * `request.connectionPatchRequest.configurations.streams.[]` **Changed** * `response` **Changed** **Breaking** ⚠️ * `airbyte.destinations.createDestination()`: * `request.configuration` **Changed** **Breaking** ⚠️ * `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.destinations.getDestination()`: `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.destinations.listDestinations()`: `response.data.[].configuration` **Changed** **Breaking** ⚠️ * `airbyte.connections.createConnection()`: * `request.configurations.streams.[]` **Changed** * `response` **Changed** **Breaking** ⚠️ * `airbyte.declarativeSourceDefinitions.updateDeclarativeSourceDefinition()`: * `request.updateDeclarativeSourceDefinitionRequest.version` **Removed** **Breaking** ⚠️ * `airbyte.destinations.putDestination()`: * `request.destinationPutRequest.configuration` **Changed** **Breaking** ⚠️ * `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.sources.getSource()`: `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.sources.listSources()`: `response.data.[].configuration` **Changed** **Breaking** ⚠️ * `airbyte.sources.patchSource()`: * `request.sourcePatchRequest.configuration` **Changed** **Breaking** ⚠️ * `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.sources.putSource()`: * `request.sourcePutRequest.configuration` **Changed** **Breaking** ⚠️ * `response.configuration` **Changed** **Breaking** ⚠️ * `airbyte.workspaces.createOrUpdateWorkspaceOAuthCredentials()`: * `request.workspaceOAuthCredentialsRequest.configuration` **Changed** **Breaking** ⚠️ * `airbyte.streams.getStreamProperties()`: `response.[].streamnamespace` **Added** * `airbyte.organizations.createOrUpdateOrganizationOAuthCredentials()`: **Added**
1 parent 04b5134 commit 4979a83

File tree

3,722 files changed

+121557
-50751
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,722 files changed

+121557
-50751
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
3+
.env
4+
.env.local
15
.speakeasy/reports
26
# Ignore IDE-specific configs
37
.project

.speakeasy/gen.lock

Lines changed: 614 additions & 141 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.637.3
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:59e327c0737e7d230fe332ba797a171c1182b070b8fc74b0c8c0ea0d983ee675
13+
sourceBlobDigest: sha256:5cf719b972274960feef188322a27cea9e780a7ab41144d694f89d150472cf2a
1414
tags:
1515
- latest
16-
- speakeasy-sdk-regen-1733962674
16+
- speakeasy-sdk-regen-1758759470
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:59e327c0737e7d230fe332ba797a171c1182b070b8fc74b0c8c0ea0d983ee675
28+
sourceBlobDigest: sha256:5cf719b972274960feef188322a27cea9e780a7ab41144d694f89d150472cf2a
2929
codeSamplesNamespace: my-source-java-code-samples
30-
codeSamplesRevisionDigest: sha256:b4a63e27822e0b961739d46a6b15049756d339c93f1008fae50a8052afce6cd9
30+
codeSamplesRevisionDigest: sha256:21370bdb8d7c9be76a1be6e292dce05e6716761867e6d3d6fd270126d2a06592
3131
workflow:
3232
workflowVersion: 1.0.0
3333
speakeasyVersion: latest

README.md

Lines changed: 317 additions & 31 deletions
Large diffs are not rendered by default.

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-10-21 00:18:21
1207+
### Changes
1208+
Based on:
1209+
- OpenAPI Doc
1210+
- Speakeasy CLI 1.637.3 (2.727.9) https://github.com/speakeasy-api/speakeasy
1211+
### Generated
1212+
- [java v3.0.0] .
1213+
### Releases
1214+
- [Maven Central v3.0.0] https://central.sonatype.com/artifact/com.airbyte/api/3.0.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: 70 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
////////////////////////////////////////////////////////////////////////////////////////////
32
// This file is generated by Speakeasy and any edits will be lost in generation updates.
43
//
@@ -9,12 +8,15 @@
98
// of string where each string value is an additional line in the block) in gen.yaml.
109
////////////////////////////////////////////////////////////////////////////////////////////
1110

11+
1212
plugins {
1313
// Apply the java-library plugin for API and implementation separation.
1414
id 'java-library'
1515
id 'maven-publish'
1616
id 'signing'
17+
// V2 publishing plugin (Sonatype Central Portal)
1718
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
19+
id "io.spring.dependency-management" version "1.1.6" apply false
1820
}
1921

2022
compileJava.options.encoding = "UTF-8"
@@ -27,27 +29,22 @@ repositories {
2729
}
2830

2931
java {
30-
sourceCompatibility = JavaVersion.VERSION_11
31-
targetCompatibility = JavaVersion.VERSION_11
3232
withSourcesJar()
3333
withJavadocJar()
3434
}
3535

36-
model {
37-
tasks.generatePomFileForMavenPublication {
38-
destination = file("$buildDir/pom.xml")
39-
}
40-
}
41-
4236
version = "${version}"
4337
group = "${groupId}"
4438

4539
jar {
46-
dependsOn(":generatePomFileForMavenPublication")
40+
dependsOn 'generatePomFileForMavenPublication'
4741
archiveBaseName = "${artifactId}"
4842

4943
into("META-INF/maven/com.airbyte/api") {
50-
from("$buildDir/pom.xml")
44+
from(layout.buildDirectory.file("pom.xml")) {
45+
// Only include if it exists to avoid build ordering issues
46+
duplicatesStrategy = DuplicatesStrategy.INCLUDE
47+
}
5148
}
5249
}
5350

@@ -60,101 +57,86 @@ javadoc {
6057
options.addStringOption('Xdoclint:none', '-quiet')
6158
}
6259

63-
tasks.withType(Javadoc) {
64-
failOnError false
60+
tasks.withType(Javadoc).configureEach {
61+
failOnError = false
6562
options.addStringOption('Xdoclint:none', '-quiet')
6663
}
6764

65+
tasks.withType(JavaCompile).configureEach {
66+
options.release = 11
67+
}
68+
6869
sourcesJar {
6970
archiveBaseName = "${artifactId}"
7071
}
7172

7273
javadocJar {
7374
archiveBaseName = "${artifactId}"
7475
}
75-
sonatypeCentralUpload {
76-
// This is your Sonatype generated username
77-
username = System.getenv("SONATYPE_USERNAME")
78-
// This is your sonatype generated password
79-
password = System.getenv("SONATYPE_PASSWORD")
80-
81-
// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
82-
archives = files(
83-
"$buildDir/libs/${artifactId}-${version}.jar",
84-
"$buildDir/libs/${artifactId}-${version}-sources.jar",
85-
"$buildDir/libs/${artifactId}-${version}-javadoc.jar"
86-
)
87-
88-
// This is the pom file to upload. This is required by central
89-
pom = file("$buildDir/pom.xml")
90-
91-
// This is your PGP private key. This is required to sign your files
92-
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
93-
// This is your PGP private key passphrase to decrypt your private key
94-
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
76+
77+
dependencies {
78+
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
79+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
80+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
81+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
82+
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
83+
implementation 'commons-io:commons-io:2.18.0'
84+
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
85+
api 'org.reactivestreams:reactive-streams:1.0.4'
9586
}
9687

88+
ext {
89+
springBootVersion = '2.7.18'
90+
}
9791

98-
publishing {
99-
100-
publications {
101-
maven(MavenPublication) {
102-
// note that properties can't yet be used below!
103-
// https://github.com/gradle/gradle/issues/18619
104-
groupId = "com.airbyte"
105-
artifactId = "api"
106-
version = "2.0.0"
107-
108-
from components.java
109-
110-
pom {
111-
name = 'Airbyte Java SDK'
112-
description = 'SDK enabling Java developers to easily integrate with the Airbyte API.'
113-
url = 'https://github.com/airbytehq/airbyte-api-java-sdk'
114-
scm {
115-
url = 'github.com/airbytehq/airbyte-api-java-sdk'
116-
connection = 'scm:git:ssh://git@github.com/airbytehq/airbyte-api-java-sdk.git'
117-
}
118-
licenses {
119-
license {
120-
name = 'The MIT License (MIT)'
121-
url = 'https://mit-license.org/'
122-
}
123-
}
124-
developers {
125-
developer {
126-
name = 'Airbyte'
127-
organization = 'Airbyte'
128-
email = 'info@airbyte.com'
129-
}
130-
}
131-
organization {
132-
name = 'Airbyte'
133-
url = 'www.airbyte.com'
134-
}
92+
subprojects {
93+
if (name in [
94+
'api-spring-boot-autoconfigure',
95+
'api-spring-boot-starter'
96+
]) {
97+
// Ensure subprojects use the same group and version as root project
98+
group = rootProject.group
99+
version = rootProject.version
100+
101+
apply {
102+
plugin "java-library"
103+
plugin "io.spring.dependency-management"
104+
plugin "maven-publish"
105+
plugin "signing"
106+
plugin "cl.franciscosolis.sonatype-central-upload"
107+
}
108+
dependencyManagement {
109+
imports {
110+
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
135111
}
136112
}
137-
}
138-
}
113+
repositories {
114+
mavenCentral()
115+
}
116+
java {
117+
withSourcesJar()
118+
withJavadocJar()
119+
}
120+
tasks.withType(JavaCompile).configureEach {
121+
options.release = 11
122+
}
139123

140-
if (!project.hasProperty('skip.signing')) {
141-
signing {
142-
def signingKey = findProperty("signingKey")
143-
def signingPassphrase = findProperty("signingPassphrase")
144-
useInMemoryPgpKeys(signingKey, signingPassphrase)
145-
sign publishing.publications.maven
124+
// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
125+
apply from: rootProject.file('publishing.gradle')
146126
}
147127
}
148128

149-
150-
151-
dependencies {
152-
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
153-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
154-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
155-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
156-
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
157-
implementation 'commons-io:commons-io:2.18.0'
129+
ext {
130+
publishingConfig = [
131+
groupId: group,
132+
artifactId: artifactId,
133+
version: version,
134+
name: "Airbyte Java SDK",
135+
description: "SDK enabling Java developers to easily integrate with the Airbyte API.",
136+
publicationName: "maven"
137+
]
158138
}
159139

160-
apply from: 'build-extras.gradle'
140+
apply from: 'publishing.gradle'
141+
142+
apply from: 'build-extras.gradle'

docs/models/operations/CancelJobResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | |
99
| `jobResponse` | [Optional\<JobResponse>](../../models/shared/JobResponse.md) | :heavy_minus_sign: | Cancel a Job. | {<br/>"id": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",<br/>"status": "running",<br/>"jobType": "sync",<br/>"startTime": "2023-03-25T01:30:50Z",<br/>"duration": "PT8H6M12S"<br/>} |
1010
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | |
11-
| `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 | |
11+
| `rawResponse` | [HttpResponse\<?>](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 | |

docs/models/operations/CreateConnectionResponse.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
8-
| `connectionResponse` | [Optional\<ConnectionResponse>](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Successful operation |
9-
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
10-
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11-
| `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 |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
8+
| `connectionResponse` | [Optional\<ConnectionResponse>](../../models/shared/ConnectionResponse.md) | :heavy_minus_sign: | Successful operation |
9+
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
10+
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11+
| `rawResponse` | [HttpResponse\<?>](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)