diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 56fd4bf16..43faaac15 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -4,15 +4,15 @@ management: docChecksum: c101e6356aa26bcdee80457c4dc64471 docVersion: 1.0.0 speakeasyVersion: internal - generationVersion: 2.253.0 - releaseVersion: 0.48.1 - configChecksum: 8694447405c5904c147dfb937af22c20 + generationVersion: 2.259.1 + releaseVersion: 0.49.1 + configChecksum: e3e7c21a61e9ffebaa16be28635d6db0 repoURL: https://github.com/airbytehq/airbyte-api-java-sdk.git repoSubDirectory: . published: true features: java: - core: 3.2.2 + core: 3.5.1 globalSecurity: 2.81.2 globalServerURLs: 2.82.1 generatedFiles: @@ -29,6 +29,7 @@ generatedFiles: - gradle/wrapper/gradle-wrapper.properties - gradlew - gradlew.bat + - settings.gradle - lib/build.gradle - lib/src/main/java/com/airbyte/api/utils/DateTimeDeserializer.java - lib/src/main/java/com/airbyte/api/utils/DateTimeSerializer.java @@ -52,7 +53,6 @@ generatedFiles: - lib/src/main/java/com/airbyte/api/utils/SpeakeasyMetadata.java - lib/src/main/java/com/airbyte/api/utils/Types.java - lib/src/main/java/com/airbyte/api/utils/Utils.java - - settings.gradle - lib/src/main/java/com/airbyte/api/models/operations/CreateConnectionResponse.java - lib/src/main/java/com/airbyte/api/models/operations/DeleteConnectionRequest.java - lib/src/main/java/com/airbyte/api/models/operations/DeleteConnectionResponse.java diff --git a/README.md b/README.md index a154cda4d..e2e26d401 100755 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The Developer Portal UI can also be used to help build your integration by showi ### Gradle ```groovy -implementation 'com.airbyte.api:public-api:0.48.1' +implementation 'com.airbyte.api:public-api:0.49.1' ``` @@ -69,21 +69,21 @@ public class Application { ){{ streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{ add(new StreamConfiguration( - "string"){{ - name = "string"; + ""){{ + name = ""; }}), }}; }}; dataResidency = GeographyEnum.EU; - name = "string"; + name = ""; namespaceDefinition = NamespaceDefinitionEnum.CUSTOM_FORMAT; namespaceFormat = "${SOURCE_NAMESPACE}"; nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE; - prefix = "string"; + prefix = ""; schedule = new ConnectionSchedule( ScheduleTypeEnum.CRON){{ - cronExpression = "string"; + cronExpression = ""; }}; status = ConnectionStatusEnum.DEPRECATED; diff --git a/RELEASES.md b/RELEASES.md index 0d95fd77a..4ee48809b 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -981,4 +981,24 @@ Based on: ### Generated - [java v0.48.1] . ### Releases -- [Maven Central v0.48.1] https://central.sonatype.com/artifact/com.airbyte/api/0.48.1 - . \ No newline at end of file +- [Maven Central v0.48.1] https://central.sonatype.com/artifact/com.airbyte/api/0.48.1 - . + +## 2024-02-15 00:12:30 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.180.0 (2.258.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.49.0] . +### Releases +- [Maven Central v0.49.0] https://central.sonatype.com/artifact/com.airbyte/api/0.49.0 - . + +## 2024-02-16 00:12:18 +### Changes +Based on: +- OpenAPI Doc 1.0.0 +- Speakeasy CLI 1.182.0 (2.259.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.49.1] . +### Releases +- [Maven Central v0.49.1] https://central.sonatype.com/artifact/com.airbyte/api/0.49.1 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 0f5d8ab4e..502797b2f 100644 --- a/USAGE.md +++ b/USAGE.md @@ -38,21 +38,21 @@ public class Application { ){{ streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{ add(new StreamConfiguration( - "string"){{ - name = "string"; + ""){{ + name = ""; }}), }}; }}; dataResidency = GeographyEnum.EU; - name = "string"; + name = ""; namespaceDefinition = NamespaceDefinitionEnum.CUSTOM_FORMAT; namespaceFormat = "${SOURCE_NAMESPACE}"; nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE; - prefix = "string"; + prefix = ""; schedule = new ConnectionSchedule( ScheduleTypeEnum.CRON){{ - cronExpression = "string"; + cronExpression = ""; }}; status = ConnectionStatusEnum.DEPRECATED; diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index 25f2a8733..7960f3bdd 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -54,21 +54,21 @@ public class Application { ){{ streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{ add(new StreamConfiguration( - "string"){{ - name = "string"; + ""){{ + name = ""; }}), }}; }}; dataResidency = GeographyEnum.EU; - name = "string"; + name = ""; namespaceDefinition = NamespaceDefinitionEnum.CUSTOM_FORMAT; namespaceFormat = "${SOURCE_NAMESPACE}"; nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE; - prefix = "string"; + prefix = ""; schedule = new ConnectionSchedule( ScheduleTypeEnum.CRON){{ - cronExpression = "string"; + cronExpression = ""; }}; status = ConnectionStatusEnum.DEPRECATED; @@ -129,7 +129,7 @@ public class Application { .build(); com.airbyte.api.models.operations.DeleteConnectionRequest req = new DeleteConnectionRequest( - "string"); + ""); com.airbyte.api.models.operations.DeleteConnectionResponse res = sdk.connections.deleteConnection(req); @@ -185,7 +185,7 @@ public class Application { .build(); com.airbyte.api.models.operations.GetConnectionRequest req = new GetConnectionRequest( - "string"); + ""); com.airbyte.api.models.operations.GetConnectionResponse res = sdk.connections.getConnection(req); @@ -321,27 +321,27 @@ public class Application { ){{ streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{ add(new StreamConfiguration( - "string"){{ - name = "string"; + ""){{ + name = ""; }}), }}; }}; dataResidency = GeographyEnumNoDefault.AUTO; - name = "string"; + name = ""; namespaceDefinition = NamespaceDefinitionEnumNoDefault.SOURCE; namespaceFormat = "${SOURCE_NAMESPACE}"; nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnumNoDefault.PROPAGATE_FULLY; - prefix = "string"; + prefix = ""; schedule = new ConnectionSchedule( ScheduleTypeEnum.CRON){{ - cronExpression = "string"; + cronExpression = ""; }}; status = ConnectionStatusEnum.ACTIVE; }}, - "string"); + ""); com.airbyte.api.models.operations.PatchConnectionResponse res = sdk.connections.patchConnection(req); diff --git a/docs/sdks/destinations/README.md b/docs/sdks/destinations/README.md index 797869984..02551814a 100644 --- a/docs/sdks/destinations/README.md +++ b/docs/sdks/destinations/README.md @@ -40,8 +40,8 @@ public class Application { .build(); com.airbyte.api.models.shared.DestinationCreateRequest req = new DestinationCreateRequest( - "string", - "string", + "", + "", "8360860a-d46e-48e6-af62-08e5ba5019ef"){{ definitionId = "3492fc0e-ef56-45b0-b0c7-3d4dfc9aec3c"; @@ -101,7 +101,7 @@ public class Application { .build(); com.airbyte.api.models.operations.DeleteDestinationRequest req = new DeleteDestinationRequest( - "string"); + ""); com.airbyte.api.models.operations.DeleteDestinationResponse res = sdk.destinations.deleteDestination(req); @@ -157,7 +157,7 @@ public class Application { .build(); com.airbyte.api.models.operations.GetDestinationRequest req = new GetDestinationRequest( - "string"); + ""); com.airbyte.api.models.operations.GetDestinationResponse res = sdk.destinations.getDestination(req); @@ -278,11 +278,11 @@ public class Application { .build(); com.airbyte.api.models.operations.PatchDestinationRequest req = new PatchDestinationRequest( - "string"){{ + ""){{ destinationPatchRequest = new DestinationPatchRequest( ){{ - configuration = "string"; - name = "string"; + configuration = ""; + name = ""; }}; @@ -343,10 +343,10 @@ public class Application { .build(); com.airbyte.api.models.operations.PutDestinationRequest req = new PutDestinationRequest( - "string"){{ + ""){{ destinationPutRequest = new DestinationPutRequest( - "string", - "string"); + "", + ""); }}; diff --git a/docs/sdks/jobs/README.md b/docs/sdks/jobs/README.md index e02e80131..f900b9223 100644 --- a/docs/sdks/jobs/README.md +++ b/docs/sdks/jobs/README.md @@ -95,7 +95,7 @@ public class Application { .build(); com.airbyte.api.models.shared.JobCreateRequest req = new JobCreateRequest( - "string", + "", JobTypeEnum.SYNC); com.airbyte.api.models.operations.CreateJobResponse res = sdk.jobs.createJob(req); @@ -212,13 +212,13 @@ public class Application { com.airbyte.api.models.operations.ListJobsRequest req = new ListJobsRequest( ){{ - connectionId = "string"; + connectionId = ""; createdAtEnd = OffsetDateTime.parse("2024-06-04T16:21:45.917Z"); createdAtStart = OffsetDateTime.parse("2023-04-03T04:39:28.005Z"); jobType = JobTypeEnum.SYNC; limit = 955698; offset = 624731; - orderBy = "string"; + orderBy = ""; status = JobStatusEnum.PENDING; updatedAtEnd = OffsetDateTime.parse("2023-12-07T18:30:31.244Z"); updatedAtStart = OffsetDateTime.parse("2023-06-02T22:15:44.179Z"); diff --git a/docs/sdks/sources/README.md b/docs/sdks/sources/README.md index e033f048d..ac97ae83d 100644 --- a/docs/sdks/sources/README.md +++ b/docs/sdks/sources/README.md @@ -41,11 +41,11 @@ public class Application { .build(); com.airbyte.api.models.shared.SourceCreateRequest req = new SourceCreateRequest( - "string", - "string", + "", + "", "a2cf0f31-f3dd-4c98-88c3-4bdfb109056a"){{ definitionId = "a6d6dedf-297b-4eb8-860e-3afe15240dda"; - secretId = "string"; + secretId = ""; }}; @@ -103,7 +103,7 @@ public class Application { .build(); com.airbyte.api.models.operations.DeleteSourceRequest req = new DeleteSourceRequest( - "string"); + ""); com.airbyte.api.models.operations.DeleteSourceResponse res = sdk.sources.deleteSource(req); @@ -159,7 +159,7 @@ public class Application { .build(); com.airbyte.api.models.operations.GetSourceRequest req = new GetSourceRequest( - "string"); + ""); com.airbyte.api.models.operations.GetSourceResponse res = sdk.sources.getSource(req); @@ -221,7 +221,7 @@ public class Application { .build(); com.airbyte.api.models.shared.InitiateOauthRequest req = new InitiateOauthRequest( - "string", + "", OAuthActorNames.GOOGLE_ADS, "fd28130d-9919-4ffa-a67d-4e12eb099447"){{ oAuthInputConfiguration = new OAuthInputConfiguration( @@ -348,12 +348,12 @@ public class Application { .build(); com.airbyte.api.models.operations.PatchSourceRequest req = new PatchSourceRequest( - "string"){{ + ""){{ sourcePatchRequest = new SourcePatchRequest( ){{ - configuration = "string"; + configuration = ""; name = "My source"; - secretId = "string"; + secretId = ""; workspaceId = "30fc2511-c44f-479e-92c3-0df4fd46c0e4"; }}; @@ -415,10 +415,10 @@ public class Application { .build(); com.airbyte.api.models.operations.PutSourceRequest req = new PutSourceRequest( - "string"){{ + ""){{ sourcePutRequest = new SourcePutRequest( - "string", - "string"); + "", + ""); }}; diff --git a/docs/sdks/streams/README.md b/docs/sdks/streams/README.md index 89e9bf3aa..d5c16afb7 100644 --- a/docs/sdks/streams/README.md +++ b/docs/sdks/streams/README.md @@ -35,8 +35,8 @@ public class Application { .build(); com.airbyte.api.models.operations.GetStreamPropertiesRequest req = new GetStreamPropertiesRequest( - "string", - "string"){{ + "", + ""){{ ignoreCache = false; }}; diff --git a/docs/sdks/workspaces/README.md b/docs/sdks/workspaces/README.md index d0982cc02..1c7a710b5 100644 --- a/docs/sdks/workspaces/README.md +++ b/docs/sdks/workspaces/README.md @@ -46,9 +46,9 @@ public class Application { com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsRequest req = new CreateOrUpdateWorkspaceOAuthCredentialsRequest( new WorkspaceOAuthCredentialsRequest( ActorTypeEnum.DESTINATION, - "string", + "", OAuthActorNames.AMAZON_ADS), - "string"); + ""); com.airbyte.api.models.operations.CreateOrUpdateWorkspaceOAuthCredentialsResponse res = sdk.workspaces.createOrUpdateWorkspaceOAuthCredentials(req); @@ -104,7 +104,7 @@ public class Application { .build(); com.airbyte.api.models.shared.WorkspaceCreateRequest req = new WorkspaceCreateRequest( - "string"); + ""); com.airbyte.api.models.operations.CreateWorkspaceResponse res = sdk.workspaces.createWorkspace(req); @@ -160,7 +160,7 @@ public class Application { .build(); com.airbyte.api.models.operations.DeleteWorkspaceRequest req = new DeleteWorkspaceRequest( - "string"); + ""); com.airbyte.api.models.operations.DeleteWorkspaceResponse res = sdk.workspaces.deleteWorkspace(req); @@ -216,7 +216,7 @@ public class Application { .build(); com.airbyte.api.models.operations.GetWorkspaceRequest req = new GetWorkspaceRequest( - "string"); + ""); com.airbyte.api.models.operations.GetWorkspaceResponse res = sdk.workspaces.getWorkspace(req); @@ -338,8 +338,8 @@ public class Application { com.airbyte.api.models.operations.UpdateWorkspaceRequest req = new UpdateWorkspaceRequest( new WorkspaceUpdateRequest( - "string"), - "string"); + ""), + ""); com.airbyte.api.models.operations.UpdateWorkspaceResponse res = sdk.workspaces.updateWorkspace(req); diff --git a/gen.yaml b/gen.yaml index f4545b4d5..06d65c871 100644 --- a/gen.yaml +++ b/gen.yaml @@ -9,7 +9,7 @@ generation: parameterOrderingFeb2024: false requestResponseComponentNamesFeb2024: false java: - version: 0.48.1 + version: 0.49.1 artifactID: api companyEmail: info@airbyte.com companyName: Airbyte diff --git a/lib/build.gradle b/lib/build.gradle index 08cc03fe2..f78d4a26b 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -1,10 +1,3 @@ -/* - * This file was generated by the Gradle 'init' task. - * - * This generated file contains a sample Java library project to get you started. - * For more details take a look at the 'Building Java and JVM projects' chapter in the Gradle - * User Manual available at https://docs.gradle.org/7.5.1/userguide/building_java_projects.html - */ plugins { // Apply the java-library plugin for API and implementation separation. @@ -20,7 +13,6 @@ repositories { // Use Maven Central for resolving dependencies. mavenCentral() } - java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 @@ -36,11 +28,26 @@ model { jar { dependsOn(":$project.name:generatePomFileForMavenPublication") + into("META-INF/maven/com.airbyte/api") { - from("$buildDir/pom.xml") + from("$buildDir/pom.xml") } } +javadoc { + options.encoding = "UTF-8" + + if(JavaVersion.current().isJava9Compatible()) { + options.addBooleanOption('html5', true) + } + options.addStringOption('Xdoclint:none', '-quiet') +} + + +tasks.withType(Javadoc) { + failOnError false + options.addStringOption('Xdoclint:none', '-quiet') +} publishing { repositories { maven { @@ -52,11 +59,12 @@ publishing { } } } + publications { maven(MavenPublication) { groupId = 'com.airbyte' artifactId = 'api' - version = '0.48.1' + version = '0.49.1' from components.java @@ -99,15 +107,6 @@ if (!project.hasProperty('skip.signing')) { } } -javadoc { - options.encoding = "UTF-8" - - if(JavaVersion.current().isJava9Compatible()) { - options.addBooleanOption('html5', true) - } - options.addStringOption('Xdoclint:none', '-quiet') -} - dependencies { implementation 'com.fasterxml.jackson.core:jackson-annotations:2.14.1' implementation 'com.fasterxml.jackson.core:jackson-core:2.14.1' diff --git a/lib/src/main/java/com/airbyte/api/SDKConfiguration.java b/lib/src/main/java/com/airbyte/api/SDKConfiguration.java index cd64475f4..5940719f5 100644 --- a/lib/src/main/java/com/airbyte/api/SDKConfiguration.java +++ b/lib/src/main/java/com/airbyte/api/SDKConfiguration.java @@ -15,9 +15,9 @@ class SDKConfiguration { public int serverIdx = 0; public String language = "java"; public String openapiDocVersion = "1.0.0"; - public String sdkVersion = "0.48.1"; - public String genVersion = "2.253.0"; - public String userAgent = "speakeasy-sdk/java 0.48.1 2.253.0 1.0.0 com.airbyte.api"; + public String sdkVersion = "0.49.1"; + public String genVersion = "2.259.1"; + public String userAgent = "speakeasy-sdk/java 0.49.1 2.259.1 1.0.0 com.airbyte.api"; } \ No newline at end of file