Skip to content

Commit 920c378

Browse files
authored
Merge pull request #35 from apideck-libraries/speakeasy-sdk-regen-1741788466
chore: 🐝 Update SDK - Generate 0.10.0
2 parents 8f19a0f + ac422a8 commit 920c378

461 files changed

Lines changed: 3423 additions & 2162 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.speakeasy/gen.lock

Lines changed: 26 additions & 22 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
java:
18-
version: 0.9.0
18+
version: 0.10.0
1919
additionalDependencies: []
2020
additionalPlugins: []
2121
artifactID: unify

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.517.0
1+
speakeasyVersion: 1.521.1
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:81bed33eeb98490f0add3b8d9023162977d17a0f2535a4dc6b3f6a217401473e
6-
sourceBlobDigest: sha256:1db7c811aa3189e7bf5968cd9d7eeab51af6f5093e0c68671f671d1c56d98b86
5+
sourceRevisionDigest: sha256:8f27a3c52a1acd1c79e6a89eb0926a706a42b3fcac5dc30407a51424a819c6a2
6+
sourceBlobDigest: sha256:d4d5b03510bc956447c174208074a861273d592fb338b007137000bc18a51f13
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741348795
10-
- 10.12.3
9+
- speakeasy-sdk-regen-1741788466
10+
- 10.13.0
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:81bed33eeb98490f0add3b8d9023162977d17a0f2535a4dc6b3f6a217401473e
16-
sourceBlobDigest: sha256:1db7c811aa3189e7bf5968cd9d7eeab51af6f5093e0c68671f671d1c56d98b86
15+
sourceRevisionDigest: sha256:8f27a3c52a1acd1c79e6a89eb0926a706a42b3fcac5dc30407a51424a819c6a2
16+
sourceBlobDigest: sha256:d4d5b03510bc956447c174208074a861273d592fb338b007137000bc18a51f13
1717
codeSamplesNamespace: apideck-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:f9b220707a8165b25f6d8c9e91d86aff25a76c884f8a0c946ecec6973088f7ed
18+
codeSamplesRevisionDigest: sha256:8bcef47ae3a816577d7548fb4f37055ed7a9d275c91f36a259c3050a631b5001
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@ The samples below show how a published SDK artifact is used:
4747

4848
Gradle:
4949
```groovy
50-
implementation 'com.apideck:unify:0.9.0'
50+
implementation 'com.apideck:unify:0.10.0'
5151
```
5252

5353
Maven:
5454
```xml
5555
<dependency>
5656
<groupId>com.apideck</groupId>
5757
<artifactId>unify</artifactId>
58-
<version>0.9.0</version>
58+
<version>0.10.0</version>
5959
</dependency>
6060
```
6161

@@ -120,9 +120,9 @@ public class Application {
120120
sdk.accounting().taxRates().list()
121121
.request(req)
122122
.callAsStream()
123-
.forEach(item -> {
124-
// handle item
125-
});
123+
.forEach(item -> {
124+
// handle item again
125+
});
126126

127127
}
128128
}
@@ -701,9 +701,9 @@ public class Application {
701701
sdk.accounting().taxRates().list()
702702
.request(req)
703703
.callAsStream()
704-
.forEach(item -> {
705-
// handle item
706-
});
704+
.forEach(item -> {
705+
// handle item again
706+
});
707707

708708
}
709709
}
@@ -770,9 +770,9 @@ public class Application {
770770
.build())
771771
.build())
772772
.callAsStream()
773-
.forEach(item -> {
774-
// handle item
775-
});
773+
.forEach(item -> {
774+
// handle item again
775+
});
776776

777777
}
778778
}
@@ -833,9 +833,9 @@ public class Application {
833833
sdk.accounting().taxRates().list()
834834
.request(req)
835835
.callAsStream()
836-
.forEach(item -> {
837-
// handle item
838-
});
836+
.forEach(item -> {
837+
// handle item again
838+
});
839839

840840
}
841841
}
@@ -901,9 +901,9 @@ public class Application {
901901
sdk.accounting().taxRates().list()
902902
.request(req)
903903
.callAsStream()
904-
.forEach(item -> {
905-
// handle item
906-
});
904+
.forEach(item -> {
905+
// handle item again
906+
});
907907

908908
}
909909
}
@@ -958,9 +958,9 @@ public class Application {
958958
sdk.accounting().taxRates().list()
959959
.request(req)
960960
.callAsStream()
961-
.forEach(item -> {
962-
// handle item
963-
});
961+
.forEach(item -> {
962+
// handle item again
963+
});
964964

965965
}
966966
}
@@ -1009,23 +1009,31 @@ public class Application {
10091009
.extendPaths(List.of(
10101010
ExtendPaths.builder()
10111011
.path("$.nested.property")
1012-
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
1012+
.value(Map.ofEntries(
1013+
Map.entry("TaxClassificationRef", Map.ofEntries(
1014+
Map.entry("value", "EUC-99990201-V1-00020000")))))
10131015
.build(),
10141016
ExtendPaths.builder()
10151017
.path("$.nested.property")
1016-
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
1018+
.value(Map.ofEntries(
1019+
Map.entry("TaxClassificationRef", Map.ofEntries(
1020+
Map.entry("value", "EUC-99990201-V1-00020000")))))
10171021
.build()))
10181022
.build(),
10191023
PassThroughBody.builder()
10201024
.serviceId("<id>")
10211025
.extendPaths(List.of(
10221026
ExtendPaths.builder()
10231027
.path("$.nested.property")
1024-
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
1028+
.value(Map.ofEntries(
1029+
Map.entry("TaxClassificationRef", Map.ofEntries(
1030+
Map.entry("value", "EUC-99990201-V1-00020000")))))
10251031
.build(),
10261032
ExtendPaths.builder()
10271033
.path("$.nested.property")
1028-
.value(Map.ofEntries(\n Map.entry("TaxClassificationRef", Map.ofEntries(\n Map.entry("value", "EUC-99990201-V1-00020000")))))
1034+
.value(Map.ofEntries(
1035+
Map.entry("TaxClassificationRef", Map.ofEntries(
1036+
Map.entry("value", "EUC-99990201-V1-00020000")))))
10291037
.build()))
10301038
.build()))
10311039
.build())
@@ -1098,9 +1106,9 @@ public class Application {
10981106
sdk.accounting().taxRates().list()
10991107
.request(req)
11001108
.callAsStream()
1101-
.forEach(item -> {
1102-
// handle item
1103-
});
1109+
.forEach(item -> {
1110+
// handle item again
1111+
});
11041112

11051113
}
11061114
}

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,14 @@ Based on:
208208
### Generated
209209
- [java v0.9.0] .
210210
### Releases
211-
- [Maven Central v0.9.0] https://central.sonatype.com/artifact/com.apideck/unify/0.9.0 - .
211+
- [Maven Central v0.9.0] https://central.sonatype.com/artifact/com.apideck/unify/0.9.0 - .
212+
213+
## 2025-03-21 17:23:09
214+
### Changes
215+
Based on:
216+
- OpenAPI Doc
217+
- Speakeasy CLI 1.521.1 (2.558.5) https://github.com/speakeasy-api/speakeasy
218+
### Generated
219+
- [java v0.10.0] .
220+
### Releases
221+
- [Maven Central v0.10.0] https://central.sonatype.com/artifact/com.apideck/unify/0.10.0 - .

USAGE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public class Application {
4040
sdk.accounting().taxRates().list()
4141
.request(req)
4242
.callAsStream()
43-
.forEach(item -> {
44-
// handle item
45-
});
43+
.forEach(item -> {
44+
// handle item again
45+
});
4646

4747
}
4848
}

build.gradle

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,12 @@ model {
3939
}
4040
}
4141

42+
version = "${version}"
43+
group = "${groupId}"
44+
4245
jar {
4346
dependsOn(":generatePomFileForMavenPublication")
44-
archiveBaseName = "unify"
47+
archiveBaseName = "${artifactId}"
4548

4649
into("META-INF/maven/com.apideck/unify") {
4750
from("$buildDir/pom.xml")
@@ -62,15 +65,12 @@ tasks.withType(Javadoc) {
6265
options.addStringOption('Xdoclint:none', '-quiet')
6366
}
6467

65-
group = "com.apideck"
66-
version = "0.9.0"
67-
6868
sourcesJar {
69-
archiveBaseName = "unify"
69+
archiveBaseName = "${artifactId}"
7070
}
7171

7272
javadocJar {
73-
archiveBaseName = "unify"
73+
archiveBaseName = "${artifactId}"
7474
}
7575
sonatypeCentralUpload {
7676
// This is your Sonatype generated username
@@ -80,9 +80,9 @@ sonatypeCentralUpload {
8080

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

8888
// This is the pom file to upload. This is required by central
@@ -99,9 +99,11 @@ publishing {
9999

100100
publications {
101101
maven(MavenPublication) {
102-
groupId = 'com.apideck'
103-
artifactId = 'unify'
104-
version = '0.9.0'
102+
// note that properties can't yet be used below!
103+
// https://github.com/gradle/gradle/issues/18619
104+
groupId = "com.apideck"
105+
artifactId = "unify"
106+
version = "0.10.0"
105107

106108
from components.java
107109

docs/models/components/Address.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
88
| `id` | *JsonNullable\<String>* | :heavy_minus_sign: | Unique identifier for the address. | 123 |
9-
| `type` | [JsonNullable\<AddressType>](../../models/components/AddressType.md) | :heavy_minus_sign: | The type of address. | primary |
9+
| `type` | [JsonNullable\<Type>](../../models/components/Type.md) | :heavy_minus_sign: | The type of address. | primary |
1010
| `string` | *JsonNullable\<String>* | :heavy_minus_sign: | The address string. Some APIs don't provide structured address data. | 25 Spring Street, Blackburn, VIC 3130 |
1111
| `name` | *JsonNullable\<String>* | :heavy_minus_sign: | The name of the address. | HQ US |
1212
| `line1` | *JsonNullable\<String>* | :heavy_minus_sign: | Line 1 of the address e.g. number, street, suite, apt #, etc. | Main street |

docs/models/components/AddressType.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)