Skip to content

Commit cd2c9db

Browse files
authored
Merge pull request #64 from apideck-libraries/speakeasy-sdk-regen-1757940187
chore: 🐝 Update SDK - Generate 0.21.0
2 parents 367231a + a1959c6 commit cd2c9db

1,164 files changed

Lines changed: 26517 additions & 2935 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.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/.speakeasy/temp/
24
**/.speakeasy/logs/
35
.speakeasy/temp/

.speakeasy/gen.lock

Lines changed: 224 additions & 10 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ generation:
1616
auth:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: true
19+
hoistGlobalSecurity: true
1920
tests:
2021
generateTests: true
2122
generateNewTests: false
2223
skipResponseBodyAssertions: false
2324
java:
24-
version: 0.20.0
25+
version: 0.21.0
2526
additionalDependencies: []
2627
additionalPlugins: []
2728
artifactID: unify
@@ -35,6 +36,7 @@ java:
3536
enableCustomCodeRegions: false
3637
enableStreamingUploads: false
3738
flattenGlobalSecurity: true
39+
generateSpringBootStarter: true
3840
githubURL: github.com/apideck-libraries/sdk-java
3941
groupID: com.apideck
4042
imports:

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.611.1
1+
speakeasyVersion: 1.622.1
22
sources:
33
Apideck-OAS:
44
sourceNamespace: apideck-oas
5-
sourceRevisionDigest: sha256:cb0201d032f54350a28bd8c493037ef74777e49604a1b8f76718c2d0d9918db4
6-
sourceBlobDigest: sha256:88de9a39fea7106d70b4526a9c8207a4c54c38a3c13136b2b27fbb947336e267
5+
sourceRevisionDigest: sha256:a6bcd5ccb7c969b42e8ad8b17f9f9fada68d5dcb1df1fc9f740c093e6f7a59fb
6+
sourceBlobDigest: sha256:6f9d2a5ef2ad35a10bb779aefcb98d75609448f4b14ea7f9268f7ad166c206a3
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1756222557
10-
- 10.20.13
9+
- speakeasy-sdk-regen-1757940187
10+
- 10.20.16
1111
targets:
1212
apideck:
1313
source: Apideck-OAS
1414
sourceNamespace: apideck-oas
15-
sourceRevisionDigest: sha256:cb0201d032f54350a28bd8c493037ef74777e49604a1b8f76718c2d0d9918db4
16-
sourceBlobDigest: sha256:88de9a39fea7106d70b4526a9c8207a4c54c38a3c13136b2b27fbb947336e267
15+
sourceRevisionDigest: sha256:a6bcd5ccb7c969b42e8ad8b17f9f9fada68d5dcb1df1fc9f740c093e6f7a59fb
16+
sourceBlobDigest: sha256:6f9d2a5ef2ad35a10bb779aefcb98d75609448f4b14ea7f9268f7ad166c206a3
1717
codeSamplesNamespace: apideck-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:54eb8baab6c83d948e18f408565f292b896a31660c931e855c482b86d9b5b56c
18+
codeSamplesRevisionDigest: sha256:0a8eea76a9b3ee53cda99713e96bc9b13a66a9538bd196bbf9c2e3617c6d6ded
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ The samples below show how a published SDK artifact is used:
4949

5050
Gradle:
5151
```groovy
52-
implementation 'com.apideck:unify:0.20.0'
52+
implementation 'com.apideck:unify:0.21.0'
5353
```
5454

5555
Maven:
5656
```xml
5757
<dependency>
5858
<groupId>com.apideck</groupId>
5959
<artifactId>unify</artifactId>
60-
<version>0.20.0</version>
60+
<version>0.21.0</version>
6161
</dependency>
6262
```
6363

@@ -211,6 +211,14 @@ public class Application {
211211

212212
* [get](docs/sdks/balancesheet/README.md#get) - Get BalanceSheet
213213

214+
#### [accounting().bankAccounts()](docs/sdks/bankaccounts/README.md)
215+
216+
* [list](docs/sdks/bankaccounts/README.md#list) - List Bank Accounts
217+
* [create](docs/sdks/bankaccounts/README.md#create) - Create Bank Account
218+
* [get](docs/sdks/bankaccounts/README.md#get) - Get Bank Account
219+
* [update](docs/sdks/bankaccounts/README.md#update) - Update Bank Account
220+
* [delete](docs/sdks/bankaccounts/README.md#delete) - Delete Bank Account
221+
214222
#### [accounting().bankFeedAccounts()](docs/sdks/bankfeedaccounts/README.md)
215223

216224
* [list](docs/sdks/bankfeedaccounts/README.md#list) - List Bank Feed Accounts

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,4 +468,14 @@ Based on:
468468
### Generated
469469
- [java v0.20.0] .
470470
### Releases
471-
- [Maven Central v0.20.0] https://central.sonatype.com/artifact/com.apideck/unify/0.20.0 - .
471+
- [Maven Central v0.20.0] https://central.sonatype.com/artifact/com.apideck/unify/0.20.0 - .
472+
473+
## 2025-09-23 00:12:26
474+
### Changes
475+
Based on:
476+
- OpenAPI Doc
477+
- Speakeasy CLI 1.622.1 (2.709.0) https://github.com/speakeasy-api/speakeasy
478+
### Generated
479+
- [java v0.21.0] .
480+
### Releases
481+
- [Maven Central v0.21.0] https://central.sonatype.com/artifact/com.apideck/unify/0.21.0 - .

build.gradle

Lines changed: 60 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
////////////////////////////////////////////////////////////////////////////////////////////
32
// This file is generated by Speakeasy and any edits will be lost in generation updates.
43
//
@@ -9,12 +8,15 @@
98
// of string where each string value is an additional line in the block) in gen.yaml.
109
////////////////////////////////////////////////////////////////////////////////////////////
1110

11+
1212
plugins {
1313
// Apply the java-library plugin for API and implementation separation.
1414
id 'java-library'
1515
id 'maven-publish'
1616
id 'signing'
17+
// V2 publishing plugin (Sonatype Central Portal)
1718
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
19+
id "io.spring.dependency-management" version "1.1.6" apply false
1820
}
1921

2022
compileJava.options.encoding = "UTF-8"
@@ -33,7 +35,7 @@ java {
3335

3436
model {
3537
tasks.generatePomFileForMavenPublication {
36-
destination = file("$buildDir/pom.xml")
38+
destination = file(layout.buildDirectory.file("pom.xml"))
3739
}
3840
}
3941

@@ -45,7 +47,7 @@ jar {
4547
archiveBaseName = "${artifactId}"
4648

4749
into("META-INF/maven/com.apideck/unify") {
48-
from("$buildDir/pom.xml")
50+
from(layout.buildDirectory.file("pom.xml"))
4951
}
5052
}
5153

@@ -58,7 +60,7 @@ javadoc {
5860
options.addStringOption('Xdoclint:none', '-quiet')
5961
}
6062

61-
tasks.withType(Javadoc) {
63+
tasks.withType(Javadoc).configureEach {
6264
failOnError = false
6365
options.addStringOption('Xdoclint:none', '-quiet')
6466
}
@@ -74,85 +76,6 @@ sourcesJar {
7476
javadocJar {
7577
archiveBaseName = "${artifactId}"
7678
}
77-
sonatypeCentralUpload {
78-
// This is your Sonatype generated username
79-
username = System.getenv("SONATYPE_USERNAME")
80-
// This is your sonatype generated password
81-
password = System.getenv("SONATYPE_PASSWORD")
82-
83-
// This is a list of files to upload. Ideally you would point to your jar file, source and javadoc jar (required by central)
84-
archives = files(
85-
"$buildDir/libs/${artifactId}-${version}.jar",
86-
"$buildDir/libs/${artifactId}-${version}-sources.jar",
87-
"$buildDir/libs/${artifactId}-${version}-javadoc.jar"
88-
)
89-
90-
// This is the pom file to upload. This is required by central
91-
pom = file("$buildDir/pom.xml")
92-
93-
// This is your PGP private key. This is required to sign your files
94-
signingKey = System.getenv("SONATYPE_SIGNING_KEY")
95-
// This is your PGP private key passphrase to decrypt your private key
96-
signingKeyPassphrase = System.getenv("SIGNING_KEY_PASSPHRASE")
97-
}
98-
99-
100-
publishing {
101-
102-
publications {
103-
maven(MavenPublication) {
104-
// note that properties can't yet be used below!
105-
// https://github.com/gradle/gradle/issues/18619
106-
groupId = "com.apideck"
107-
artifactId = "unify"
108-
version = "0.20.0"
109-
110-
from components.java
111-
112-
pom {
113-
properties = [
114-
'maven.compiler.source': '11',
115-
'maven.compiler.target': '11',
116-
]
117-
name = 'Apideck Java SDK'
118-
description = 'SDK enabling Java developers to easily integrate with the Apideck API.'
119-
url = 'https://github.com/apideck-libraries/sdk-java'
120-
scm {
121-
url = 'github.com/apideck-libraries/sdk-java'
122-
connection = 'scm:git:ssh://git@github.com/apideck-libraries/sdk-java.git'
123-
}
124-
licenses {
125-
license {
126-
name = 'Apache 2.0'
127-
url = 'https://www.apache.org/licenses/LICENSE-2.0.html'
128-
}
129-
}
130-
developers {
131-
developer {
132-
name = 'Apideck'
133-
organization = 'Apideck'
134-
email = 'support@apideck.com'
135-
}
136-
}
137-
organization {
138-
name = 'Apideck'
139-
url = 'www.apideck.com'
140-
}
141-
}
142-
}
143-
}
144-
}
145-
146-
if (!project.hasProperty('skip.signing')) {
147-
signing {
148-
def signingKey = findProperty("signingKey")
149-
def signingPassphrase = findProperty("signingPassphrase")
150-
useInMemoryPgpKeys(signingKey, signingPassphrase)
151-
sign publishing.publications.maven
152-
}
153-
}
154-
155-
15679

15780
dependencies {
15881
api 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
@@ -165,4 +88,58 @@ dependencies {
16588
api 'org.reactivestreams:reactive-streams:1.0.4'
16689
}
16790

91+
ext {
92+
springBootVersion = '2.7.18'
93+
}
94+
95+
subprojects {
96+
// Ensure subprojects use the same group and version as root project
97+
group = rootProject.group
98+
version = rootProject.version
99+
100+
apply {
101+
plugin "java-library"
102+
plugin "io.spring.dependency-management"
103+
plugin "maven-publish"
104+
plugin "signing"
105+
plugin "cl.franciscosolis.sonatype-central-upload"
106+
}
107+
dependencyManagement {
108+
imports {
109+
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
110+
}
111+
}
112+
repositories {
113+
mavenCentral()
114+
}
115+
java {
116+
withSourcesJar()
117+
withJavadocJar()
118+
}
119+
tasks.withType(JavaCompile).configureEach {
120+
options.release = 11
121+
}
122+
123+
model {
124+
tasks.generatePomFileForMavenPublication {
125+
destination = file(layout.buildDirectory.file("pom.xml"))
126+
}
127+
}
128+
// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
129+
apply from: rootProject.file('publishing.gradle')
130+
}
131+
132+
ext {
133+
publishingConfig = [
134+
groupId: group,
135+
artifactId: artifactId,
136+
version: version,
137+
name: "Apideck Java SDK",
138+
description: "SDK enabling Java developers to easily integrate with the Apideck API.",
139+
publicationName: "maven"
140+
]
141+
}
142+
143+
apply from: 'publishing.gradle'
144+
168145
apply from: 'build-extras.gradle'

0 commit comments

Comments
 (0)