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.
3 changes: 0 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# This allows generated code to be indexed correctly
*.java linguist-generated=false
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
39,389 changes: 33,158 additions & 6,231 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

13 changes: 6 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.755.0
sources:
my-source:
sourceNamespace: my-source
Expand All @@ -9,11 +9,10 @@ sources:
- main
sample-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3
sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a
sourceRevisionDigest: sha256:399e53c0996c3e76c390bcb22e7f212c57923ccbbb052f2f9ea49198edf8d109
sourceBlobDigest: sha256:06deb09c0d17745ed45c4025d4feeb4c08840d040d5abbfa9f8655e6908f045c
tags:
- latest
- speakeasy-sdk-regen-1733962674
- 1.0.0
targets:
airbyte-api:
Expand All @@ -24,10 +23,10 @@ targets:
testing:
source: sample-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:5c4ac3b133a9b0d18d00a131ead78279d8d36a49e31f5f562d1a200fa11caec3
sourceBlobDigest: sha256:7866415b04810057478603476c27c4042cd2561a5f539d7181e4d5eac8ffca0a
sourceRevisionDigest: sha256:399e53c0996c3e76c390bcb22e7f212c57923ccbbb052f2f9ea49198edf8d109
sourceBlobDigest: sha256:06deb09c0d17745ed45c4025d4feeb4c08840d040d5abbfa9f8655e6908f045c
codeSamplesNamespace: my-source-java-code-samples
codeSamplesRevisionDigest: sha256:b4a63e27822e0b961739d46a6b15049756d339c93f1008fae50a8052afce6cd9
codeSamplesRevisionDigest: sha256:7eb6e677bd7aa964380bf7021fe0c995b9052e7f2f7aef71c9ab5caab146cd32
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
472 changes: 410 additions & 62 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 - .

## 2026-03-14 00:05:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.755.0 (2.865.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 - .
3 changes: 2 additions & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ 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()
.request(req)
.call();

if (res.connectionResponse().isPresent()) {
// handle response
System.out.println(res.connectionResponse().get());
}
}
}
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 | |
Loading