Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**/.speakeasy/temp/
**/.speakeasy/logs/
.env
.env.local
.speakeasy/reports
# Ignore IDE-specific configs
.project
Expand Down
911 changes: 757 additions & 154 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
speakeasyVersion: 1.533.0
speakeasyVersion: 1.651.0
sources:
my-source:
sourceNamespace: my-source
Expand All @@ -9,11 +9,11 @@ sources:
- main
sample-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3
sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a
sourceRevisionDigest: sha256:94e0bb220e1ec02764056bed55c1fe90776da481094b113a730158eeab050fae
sourceBlobDigest: sha256:5ef6bc4b6052b7cb182bc3925688479271227487ffdc7270af2d1c7be0dce8a0
tags:
- latest
- speakeasy-sdk-regen-1733962674
- speakeasy-sdk-regen-1758759470
- 1.0.0
targets:
airbyte-api:
Expand All @@ -24,10 +24,10 @@ targets:
testing:
source: sample-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3
sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a
sourceRevisionDigest: sha256:94e0bb220e1ec02764056bed55c1fe90776da481094b113a730158eeab050fae
sourceBlobDigest: sha256:5ef6bc4b6052b7cb182bc3925688479271227487ffdc7270af2d1c7be0dce8a0
codeSamplesNamespace: my-source-java-code-samples
codeSamplesRevisionDigest: sha256:b4a63e27822e0b961739d46a6b15049756d339c93f1008fae50a8052afce6cd9
codeSamplesRevisionDigest: sha256:0c35fd6dbaa8e6758d7046fb0e2bdd867d56bc95fd3393fa149c811fdc5ad9e5
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
394 changes: 349 additions & 45 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1201,4 +1201,14 @@ Based on:
### Generated
- [java v2.0.0] .
### Releases
- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.airbyte/api/2.0.0 - .
- [Maven Central v2.0.0] https://central.sonatype.com/artifact/com.airbyte/api/2.0.0 - .

## 2025-11-09 00:20:45
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.651.0 (2.745.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v3.0.0] .
### Releases
- [Maven Central v3.0.0] https://central.sonatype.com/artifact/com.airbyte/api/3.0.0 - .
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class Application {
.destinationId("e478de0d-a3a0-475c-b019-25f7dd29e281")
.sourceId("95e66a59-8045-4307-9678-63bc3c9b8c93")
.name("Postgres-to-Bigquery")
.namespaceFormat("${SOURCE_NAMESPACE}")
.build();

CreateConnectionResponse res = sdk.connections().createConnection()
Expand Down
158 changes: 70 additions & 88 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

////////////////////////////////////////////////////////////////////////////////////////////
// This file is generated by Speakeasy and any edits will be lost in generation updates.
//
Expand All @@ -9,12 +8,15 @@
// of string where each string value is an additional line in the block) in gen.yaml.
////////////////////////////////////////////////////////////////////////////////////////////


plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
id 'maven-publish'
id 'signing'
// V2 publishing plugin (Sonatype Central Portal)
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
id "io.spring.dependency-management" version "1.1.6" apply false
}

compileJava.options.encoding = "UTF-8"
Expand All @@ -27,27 +29,22 @@ repositories {
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withSourcesJar()
withJavadocJar()
}

model {
tasks.generatePomFileForMavenPublication {
destination = file("$buildDir/pom.xml")
}
}

version = "${version}"
group = "${groupId}"

jar {
dependsOn(":generatePomFileForMavenPublication")
dependsOn 'generatePomFileForMavenPublication'
archiveBaseName = "${artifactId}"

into("META-INF/maven/com.airbyte/api") {
from("$buildDir/pom.xml")
from(layout.buildDirectory.file("pom.xml")) {
// Only include if it exists to avoid build ordering issues
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
}
}

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

tasks.withType(Javadoc) {
failOnError false
tasks.withType(Javadoc).configureEach {
failOnError = false
options.addStringOption('Xdoclint:none', '-quiet')
}

tasks.withType(JavaCompile).configureEach {
options.release = 11
}

sourcesJar {
archiveBaseName = "${artifactId}"
}

javadocJar {
archiveBaseName = "${artifactId}"
}
sonatypeCentralUpload {
// This is your Sonatype generated username
username = System.getenv("SONATYPE_USERNAME")
// This is your sonatype generated password
password = System.getenv("SONATYPE_PASSWORD")

// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
archives = files(
"$buildDir/libs/${artifactId}-${version}.jar",
"$buildDir/libs/${artifactId}-${version}-sources.jar",
"$buildDir/libs/${artifactId}-${version}-javadoc.jar"
)

// This is the pom file to upload. This is required by central
pom = file("$buildDir/pom.xml")

// This is your PGP private key. This is required to sign your files
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
// This is your PGP private key passphrase to decrypt your private key
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")

dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
implementation 'commons-io:commons-io:2.18.0'
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
api 'org.reactivestreams:reactive-streams:1.0.4'
}

ext {
springBootVersion = '2.7.18'
}

publishing {

publications {
maven(MavenPublication) {
// note that properties can't yet be used below!
// https://github.com/gradle/gradle/issues/18619
groupId = "com.airbyte"
artifactId = "api"
version = "2.0.0"

from components.java

pom {
name = 'Airbyte Java SDK'
description = 'SDK enabling Java developers to easily integrate with the Airbyte API.'
url = 'https://github.com/airbytehq/airbyte-api-java-sdk'
scm {
url = 'github.com/airbytehq/airbyte-api-java-sdk'
connection = 'scm:git:ssh://git@github.com/airbytehq/airbyte-api-java-sdk.git'
}
licenses {
license {
name = 'The MIT License (MIT)'
url = 'https://mit-license.org/'
}
}
developers {
developer {
name = 'Airbyte'
organization = 'Airbyte'
email = 'info@airbyte.com'
}
}
organization {
name = 'Airbyte'
url = 'www.airbyte.com'
}
subprojects {
if (name in [
'api-spring-boot-autoconfigure',
'api-spring-boot-starter'
]) {
// Ensure subprojects use the same group and version as root project
group = rootProject.group
version = rootProject.version

apply {
plugin "java-library"
plugin "io.spring.dependency-management"
plugin "maven-publish"
plugin "signing"
plugin "cl.franciscosolis.sonatype-central-upload"
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
}
}
}
}
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(JavaCompile).configureEach {
options.release = 11
}

if (!project.hasProperty('skip.signing')) {
signing {
def signingKey = findProperty("signingKey")
def signingPassphrase = findProperty("signingPassphrase")
useInMemoryPgpKeys(signingKey, signingPassphrase)
sign publishing.publications.maven
// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
apply from: rootProject.file('publishing.gradle')
}
}



dependencies {
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
implementation 'commons-io:commons-io:2.18.0'
ext {
publishingConfig = [
groupId: group,
artifactId: artifactId,
version: version,
name: "Airbyte Java SDK",
description: "SDK enabling Java developers to easily integrate with the Airbyte API.",
publicationName: "maven"
]
}

apply from: 'build-extras.gradle'
apply from: 'publishing.gradle'

apply from: 'build-extras.gradle'
2 changes: 1 addition & 1 deletion docs/models/operations/CancelJobResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation | |
| `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/>} |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation | |
| `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 | |
| `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 | |
12 changes: 6 additions & 6 deletions docs/models/operations/CreateConnectionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

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