Skip to content

Commit 8a1856d

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.557.0
1 parent 86baeeb commit 8a1856d

File tree

605 files changed

+7336
-5264
lines changed

Some content is hidden

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

605 files changed

+7336
-5264
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
*.bat text eol=crlf
99

1010
# This allows generated code to be indexed correctly
11-
*.java linguist-generated=false
12-
11+
*.java linguist-generated=false

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
3+
.speakeasy/reports
14
# Ignore Gradle project-specific cache directory
25
.gradle
36
# Ignore Gradle build output directory

.speakeasy/gen.lock

Lines changed: 163 additions & 119 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,25 @@ generation:
44
maintainOpenAPIOrder: true
55
usageSnippets:
66
optionalPropertyRendering: withExample
7+
sdkInitStyle: constructor
78
useClassNamesForArrayFields: true
89
fixes:
910
nameResolutionDec2023: true
11+
nameResolutionFeb2025: false
1012
parameterOrderingFeb2024: true
1113
requestResponseComponentNamesFeb2024: true
14+
securityFeb2025: false
15+
sharedErrorComponentsApr2025: false
1216
auth:
1317
oAuth2ClientCredentialsEnabled: true
1418
oAuth2PasswordEnabled: false
1519
java:
16-
version: 1.0.0-beta
20+
version: 1.0.0-beta.1
1721
additionalDependencies: []
1822
additionalPlugins:
1923
- id 'org.jreleaser' version '1.15.0'
2024
artifactID: shippo-sdk
25+
baseErrorName: ShippoError
2126
clientServerStatusCodesAsErrors: true
2227
companyEmail: [email protected]
2328
companyName: Shippo

.speakeasy/workflow.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.448.2
1+
speakeasyVersion: 1.557.0
22
sources:
33
my-first-source:
44
sourceNamespace: my-first-source
5-
sourceRevisionDigest: sha256:480494c08f99f68cd119fdb481d81d31d37e4e22211cc6fd8a5197857b7580b4
6-
sourceBlobDigest: sha256:422c969f0c8ded72f1dc9d756407a9d51740270b9d16fd9c4f4a9d50f4e714ba
5+
sourceRevisionDigest: sha256:4e79ee35d906a2601ef94d4d5ca2e67706b5f272932f1514a85de8c982d2aac7
6+
sourceBlobDigest: sha256:dfa7fbc0fa4cfe64805eb6863fc0a0e53dee7fce8aa64367c594142ef296e22b
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1733703738
910
- "2018-02-08"
1011
targets:
1112
my-first-target:
1213
source: my-first-source
1314
sourceNamespace: my-first-source
14-
sourceRevisionDigest: sha256:480494c08f99f68cd119fdb481d81d31d37e4e22211cc6fd8a5197857b7580b4
15-
sourceBlobDigest: sha256:422c969f0c8ded72f1dc9d756407a9d51740270b9d16fd9c4f4a9d50f4e714ba
15+
sourceRevisionDigest: sha256:4e79ee35d906a2601ef94d4d5ca2e67706b5f272932f1514a85de8c982d2aac7
16+
sourceBlobDigest: sha256:dfa7fbc0fa4cfe64805eb6863fc0a0e53dee7fce8aa64367c594142ef296e22b
1617
codeSamplesNamespace: my-first-source-java-code-samples
17-
codeSamplesRevisionDigest: sha256:2b960672ec02abfbb6692e804ee954c218ece797c765654fab7f71084709ef08
18+
codeSamplesRevisionDigest: sha256:8001a65c41cc2598e1f329bea8c70ec4b262935c05e680d07ed022b4513812a0
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest

.speakeasy/workflow.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ targets:
1212
source: my-first-source
1313
publish:
1414
java:
15-
useSonatypeLegacy: false
1615
ossrhUsername: $ossrh_username
1716
ossrhPassword: $ossrh_password
1817
gpgSecretKey: $java_gpg_secret_key

README.md

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,7 @@ By default, an API error will throw a `models/errors/SDKError` exception. When c
290290
package hello.world;
291291

292292
import com.goshippo.shippo_sdk.Shippo;
293-
import com.goshippo.shippo_sdk.models.errors.InitiateOauth2SigninCarrierAccountsResponseBody;
294-
import com.goshippo.shippo_sdk.models.errors.InitiateOauth2SigninCarrierAccountsResponseResponseBody;
295-
import com.goshippo.shippo_sdk.models.errors.InitiateOauth2SigninResponseBody;
293+
import com.goshippo.shippo_sdk.models.errors.*;
296294
import com.goshippo.shippo_sdk.models.operations.InitiateOauth2SigninResponse;
297295
import java.lang.Exception;
298296

@@ -301,15 +299,13 @@ public class Application {
301299
public static void main(String[] args) throws InitiateOauth2SigninResponseBody, InitiateOauth2SigninCarrierAccountsResponseBody, InitiateOauth2SigninCarrierAccountsResponseResponseBody, Exception {
302300

303301
Shippo sdk = Shippo.builder()
304-
.apiKeyHeader("<YOUR_API_KEY_HERE>")
305302
.shippoApiVersion("2018-02-08")
303+
.apiKeyHeader("<YOUR_API_KEY_HERE>")
306304
.build();
307305

308306
InitiateOauth2SigninResponse res = sdk.carrierAccounts().initiateOauth2Signin()
309307
.carrierAccountObjectId("<id>")
310-
.redirectUri("https://enlightened-mortise.com/")
311-
.state("Louisiana")
312-
.shippoApiVersion("2018-02-08")
308+
.redirectUri("https://ashamed-reporter.biz")
313309
.call();
314310

315311
// handle response
@@ -323,7 +319,7 @@ public class Application {
323319

324320
### Override Server URL Per-Client
325321

326-
The default server can also be overridden globally using the `.serverURL(String serverUrl)` builder method when initializing the SDK client instance. For example:
322+
The default server can be overridden globally using the `.serverURL(String serverUrl)` builder method when initializing the SDK client instance. For example:
327323
```java
328324
package hello.world;
329325

@@ -337,14 +333,13 @@ public class Application {
337333

338334
Shippo sdk = Shippo.builder()
339335
.serverURL("https://api.goshippo.com")
340-
.apiKeyHeader("<YOUR_API_KEY_HERE>")
341336
.shippoApiVersion("2018-02-08")
337+
.apiKeyHeader("<YOUR_API_KEY_HERE>")
342338
.build();
343339

344340
ListAddressesResponse res = sdk.addresses().list()
345341
.page(1L)
346342
.results(5L)
347-
.shippoApiVersion("2018-02-08")
348343
.call();
349344

350345
if (res.addressPaginatedList().isPresent()) {
@@ -386,7 +381,6 @@ public class Application {
386381
ListAddressesResponse res = sdk.addresses().list()
387382
.page(1L)
388383
.results(5L)
389-
.shippoApiVersion("2018-02-08")
390384
.call();
391385

392386
if (res.addressPaginatedList().isPresent()) {

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,14 @@ Based on:
6060
### Generated
6161
- [java v1.0.0-beta.3] .
6262
### Releases
63-
- [Maven Central v1.0.0-beta.3] https://central.sonatype.com/artifact/com.goshippo/sdk/1.0.0-beta.3 - .
63+
- [Maven Central v1.0.0-beta.3] https://central.sonatype.com/artifact/com.goshippo/sdk/1.0.0-beta.3 - .
64+
65+
## 2025-06-09 00:24:32
66+
### Changes
67+
Based on:
68+
- OpenAPI Doc
69+
- Speakeasy CLI 1.557.0 (2.623.0) https://github.com/speakeasy-api/speakeasy
70+
### Generated
71+
- [java v1.0.0-beta.1] .
72+
### Releases
73+
- [Maven Central v1.0.0-beta.1] https://central.sonatype.com/artifact/com.goshippo/shippo-sdk/1.0.0-beta.1 - .

USAGE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ public class Application {
1111
public static void main(String[] args) throws Exception {
1212

1313
Shippo sdk = Shippo.builder()
14-
.apiKeyHeader("<YOUR_API_KEY_HERE>")
1514
.shippoApiVersion("2018-02-08")
15+
.apiKeyHeader("<YOUR_API_KEY_HERE>")
1616
.build();
1717

1818
ListAddressesResponse res = sdk.addresses().list()
1919
.page(1L)
2020
.results(5L)
21-
.shippoApiVersion("2018-02-08")
2221
.call();
2322

2423
if (res.addressPaginatedList().isPresent()) {

build.gradle

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ model {
4040
}
4141
}
4242

43+
version = "${version}"
44+
group = "${groupId}"
45+
4346
jar {
4447
dependsOn(":generatePomFileForMavenPublication")
45-
archiveBaseName = "shippo-sdk"
48+
archiveBaseName = "${artifactId}"
4649

4750
into("META-INF/maven/com.goshippo/shippo-sdk") {
4851
from("$buildDir/pom.xml")
@@ -63,15 +66,12 @@ tasks.withType(Javadoc) {
6366
options.addStringOption('Xdoclint:none', '-quiet')
6467
}
6568

66-
group = "com.goshippo"
67-
version = "1.0.0-beta"
68-
6969
sourcesJar {
70-
archiveBaseName = "shippo-sdk"
70+
archiveBaseName = "${artifactId}"
7171
}
7272

7373
javadocJar {
74-
archiveBaseName = "shippo-sdk"
74+
archiveBaseName = "${artifactId}"
7575
}
7676
sonatypeCentralUpload {
7777
// This is your Sonatype generated username
@@ -81,9 +81,9 @@ sonatypeCentralUpload {
8181

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

8989
// This is the pom file to upload. This is required by central
@@ -100,9 +100,11 @@ publishing {
100100

101101
publications {
102102
maven(MavenPublication) {
103-
groupId = 'com.goshippo'
104-
artifactId = 'shippo-sdk'
105-
version = '1.0.0-beta'
103+
// note that properties can't yet be used below!
104+
// https://github.com/gradle/gradle/issues/18619
105+
groupId = "com.goshippo"
106+
artifactId = "shippo-sdk"
107+
version = "1.0.0-beta.1"
106108

107109
from components.java
108110

@@ -145,17 +147,15 @@ if (!project.hasProperty('skip.signing')) {
145147
}
146148
}
147149

150+
151+
148152
dependencies {
149-
api 'com.fasterxml.jackson.core:jackson-annotations:2.17.2'
150-
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.2'
151-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.2'
152-
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.2'
153+
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
154+
implementation 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
155+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
156+
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'
153157
api('org.openapitools:jackson-databind-nullable:0.2.6') {exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'}
154-
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
155-
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
156-
implementation 'commons-io:commons-io:2.15.1'
158+
implementation 'commons-io:commons-io:2.18.0'
157159
}
158160

159-
160-
161161
apply from: 'build-extras.gradle'

0 commit comments

Comments
 (0)