Skip to content

Commit 4be8ed2

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.124.3
1 parent 89319b3 commit 4be8ed2

22 files changed

+429
-213
lines changed

README.md

+46-18
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@ Developers will need to create an API Key within your [Developer Portal](https:/
1515

1616
The Developer Portal UI can also be used to help build your integration by showing information about network requests in the Requests tab. API usage information is also available to you in the Usage tab.
1717

18-
<!-- Start SDK Installation -->
18+
<!-- Start SDK Installation [installation] -->
1919
## SDK Installation
2020

2121
### Gradle
2222

2323
```groovy
24-
implementation 'com.airbyte.api:public-api:0.46.0'
24+
implementation 'com.airbyte.api:public-api:0.46.1'
2525
```
26-
<!-- End SDK Installation -->
26+
<!-- End SDK Installation [installation] -->
2727

28+
<!-- Start SDK Example Usage [usage] -->
2829
## SDK Example Usage
29-
<!-- Start SDK Example Usage -->
30+
3031
### Example
3132

3233
```java
@@ -50,18 +51,25 @@ public class Application {
5051
public static void main(String[] args) {
5152
try {
5253
Airbyte sdk = Airbyte.builder()
53-
.setSecurity(new Security(){{
54-
basicAuth = new SchemeBasicAuth("string", "string"){{
54+
.setSecurity(new Security(
55+
){{
56+
basicAuth = new SchemeBasicAuth(
57+
"string",
58+
"string"){{
5559
password = "";
5660
username = "";
5761
}};
5862
}})
5963
.build();
6064

61-
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("c669dd1e-3620-483e-afc8-55914e0a570f", "6dd427d8-3a55-4584-b835-842325b6c7b3"){{
62-
configurations = new StreamConfigurations(){{
65+
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest(
66+
"c669dd1e-3620-483e-afc8-55914e0a570f",
67+
"6dd427d8-3a55-4584-b835-842325b6c7b3"){{
68+
configurations = new StreamConfigurations(
69+
){{
6370
streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{
64-
add(new StreamConfiguration("string"){{
71+
add(new StreamConfiguration(
72+
"string"){{
6573
cursorField = new String[]{{
6674
add("string"),
6775
}};
@@ -73,20 +81,24 @@ public class Application {
7381
}};
7482
}}),
7583
}};
84+
7685
}};
7786
dataResidency = GeographyEnum.EU;
7887
name = "string";
7988
namespaceDefinition = NamespaceDefinitionEnum.CUSTOM_FORMAT;
8089
namespaceFormat = "${SOURCE_NAMESPACE}";
8190
nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE;
8291
prefix = "string";
83-
schedule = new ConnectionSchedule(ScheduleTypeEnum.CRON){{
92+
schedule = new ConnectionSchedule(
93+
ScheduleTypeEnum.CRON){{
8494
cronExpression = "string";
95+
8596
}};
8697
status = ConnectionStatusEnum.DEPRECATED;
87-
}};
8898

89-
CreateConnectionResponse res = sdk.connections.createConnection(req);
99+
}};
100+
101+
com.airbyte.api.models.operations.CreateConnectionResponse res = sdk.connections.createConnection(req);
90102

91103
if (res.connectionResponse != null) {
92104
// handle response
@@ -97,12 +109,11 @@ public class Application {
97109
}
98110
}
99111
```
100-
<!-- End SDK Example Usage -->
112+
<!-- End SDK Example Usage [usage] -->
101113

102-
<!-- Start SDK Available Operations -->
114+
<!-- Start Available Resources and Operations [operations] -->
103115
## Available Resources and Operations
104116

105-
106117
### [connections](docs/sdks/connections/README.md)
107118

108119
* [createConnection](docs/sdks/connections/README.md#createconnection) - Create a connection
@@ -149,13 +160,30 @@ public class Application {
149160
* [getWorkspace](docs/sdks/workspaces/README.md#getworkspace) - Get Workspace details
150161
* [listWorkspaces](docs/sdks/workspaces/README.md#listworkspaces) - List workspaces
151162
* [updateWorkspace](docs/sdks/workspaces/README.md#updateworkspace) - Update a workspace
152-
<!-- End SDK Available Operations -->
163+
<!-- End Available Resources and Operations [operations] -->
164+
165+
166+
167+
<!-- Start Server Selection [server] -->
168+
## Server Selection
169+
170+
## Server Selection
171+
172+
### Select Server by Index
173+
174+
You can override the default server globally using the `setServerIndex` option when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
175+
176+
| # | Server | Variables |
177+
| - | ------ | --------- |
178+
| 0 | `https://api.airbyte.com/v1` | None |
179+
153180

154181

155182

156-
<!-- Start Dev Containers -->
183+
### Override Server URL Per-Client
157184

158-
<!-- End Dev Containers -->
185+
The default server can also be overridden globally using the `setServerURL` option when initializing the SDK client instance. For example:
186+
<!-- End Server Selection [server] -->
159187

160188
<!-- Placeholder for Future Speakeasy SDK Sections -->
161189

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -901,4 +901,14 @@ Based on:
901901
### Generated
902902
- [java v0.46.0] .
903903
### Releases
904-
- [Maven Central v0.46.0] https://central.sonatype.com/artifact/com.airbyte/api/0.46.0 - .
904+
- [Maven Central v0.46.0] https://central.sonatype.com/artifact/com.airbyte/api/0.46.0 - .
905+
906+
## 2023-12-02 00:12:36
907+
### Changes
908+
Based on:
909+
- OpenAPI Doc 1.0.0
910+
- Speakeasy CLI 1.124.3 (2.207.1) https://github.com/speakeasy-api/speakeasy
911+
### Generated
912+
- [java v0.46.1] .
913+
### Releases
914+
- [Maven Central v0.46.1] https://central.sonatype.com/artifact/com.airbyte/api/0.46.1 - .

USAGE.md

+21-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Start SDK Example Usage -->
1+
<!-- Start SDK Example Usage [usage] -->
22
```java
33
package hello.world;
44

@@ -20,18 +20,25 @@ public class Application {
2020
public static void main(String[] args) {
2121
try {
2222
Airbyte sdk = Airbyte.builder()
23-
.setSecurity(new Security(){{
24-
basicAuth = new SchemeBasicAuth("string", "string"){{
23+
.setSecurity(new Security(
24+
){{
25+
basicAuth = new SchemeBasicAuth(
26+
"string",
27+
"string"){{
2528
password = "";
2629
username = "";
2730
}};
2831
}})
2932
.build();
3033

31-
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest("c669dd1e-3620-483e-afc8-55914e0a570f", "6dd427d8-3a55-4584-b835-842325b6c7b3"){{
32-
configurations = new StreamConfigurations(){{
34+
com.airbyte.api.models.shared.ConnectionCreateRequest req = new ConnectionCreateRequest(
35+
"c669dd1e-3620-483e-afc8-55914e0a570f",
36+
"6dd427d8-3a55-4584-b835-842325b6c7b3"){{
37+
configurations = new StreamConfigurations(
38+
){{
3339
streams = new com.airbyte.api.models.shared.StreamConfiguration[]{{
34-
add(new StreamConfiguration("string"){{
40+
add(new StreamConfiguration(
41+
"string"){{
3542
cursorField = new String[]{{
3643
add("string"),
3744
}};
@@ -43,20 +50,24 @@ public class Application {
4350
}};
4451
}}),
4552
}};
53+
4654
}};
4755
dataResidency = GeographyEnum.EU;
4856
name = "string";
4957
namespaceDefinition = NamespaceDefinitionEnum.CUSTOM_FORMAT;
5058
namespaceFormat = "${SOURCE_NAMESPACE}";
5159
nonBreakingSchemaUpdatesBehavior = NonBreakingSchemaUpdatesBehaviorEnum.IGNORE;
5260
prefix = "string";
53-
schedule = new ConnectionSchedule(ScheduleTypeEnum.CRON){{
61+
schedule = new ConnectionSchedule(
62+
ScheduleTypeEnum.CRON){{
5463
cronExpression = "string";
64+
5565
}};
5666
status = ConnectionStatusEnum.DEPRECATED;
57-
}};
5867

59-
CreateConnectionResponse res = sdk.connections.createConnection(req);
68+
}};
69+
70+
com.airbyte.api.models.operations.CreateConnectionResponse res = sdk.connections.createConnection(req);
6071

6172
if (res.connectionResponse != null) {
6273
// handle response
@@ -67,4 +78,4 @@ public class Application {
6778
}
6879
}
6980
```
70-
<!-- End SDK Example Usage -->
81+
<!-- End SDK Example Usage [usage] -->

docs/models/shared/DestinationCreateRequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
8-
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
8+
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | {"user":"charles"} |
99
| `definitionId` | *String* | :heavy_minus_sign: | The UUID of the connector definition. One of configuration.destinationType or definitionId must be provided. | |
1010
| `name` | *String* | :heavy_check_mark: | Name of the destination e.g. dev-mysql-instance. | |
1111
| `workspaceId` | *String* | :heavy_check_mark: | N/A | |

docs/models/shared/DestinationPatchRequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
8-
| `configuration` | *Object* | :heavy_minus_sign: | The values required to configure the destination. | [object Object] |
8+
| `configuration` | *Object* | :heavy_minus_sign: | The values required to configure the destination. | {"user":"charles"} |
99
| `name` | *String* | :heavy_minus_sign: | N/A | |

docs/models/shared/DestinationPutRequest.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
8-
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
8+
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | {"user":"charles"} |
99
| `name` | *String* | :heavy_check_mark: | N/A | |

docs/models/shared/DestinationResponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Provides details of a single destination.
77

88
| Field | Type | Required | Description | Example |
99
| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
10-
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | [object Object] |
10+
| `configuration` | *Object* | :heavy_check_mark: | The values required to configure the destination. | {"user":"charles"} |
1111
| `destinationId` | *String* | :heavy_check_mark: | N/A | |
1212
| `destinationType` | *String* | :heavy_check_mark: | N/A | |
1313
| `name` | *String* | :heavy_check_mark: | N/A | |

0 commit comments

Comments
 (0)