Skip to content

Commit 4221edd

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.7.0 (#16)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.576.1 * empty commit to trigger [run-tests] workflow --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 205a6fe commit 4221edd

2,276 files changed

Lines changed: 110018 additions & 100262 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: 469 additions & 131 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
@@ -16,8 +16,12 @@ generation:
1616
auth:
1717
oAuth2ClientCredentialsEnabled: false
1818
oAuth2PasswordEnabled: false
19+
tests:
20+
generateTests: true
21+
generateNewTests: false
22+
skipResponseBodyAssertions: false
1923
java:
20-
version: 0.6.0
24+
version: 0.7.0
2125
additionalDependencies: []
2226
additionalPlugins: []
2327
artifactID: stackone-client-java
@@ -40,6 +44,7 @@ java:
4044
shared: models/components
4145
webhooks: models/webhooks
4246
inputModelSuffix: input
47+
languageVersion: 11
4348
license:
4449
name: The MIT License (MIT)
4550
shortName: MIT

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.563.1
1+
speakeasyVersion: 1.576.1
22
sources:
33
StackOne-OAS:
44
sourceNamespace: stackone-oas
5-
sourceRevisionDigest: sha256:0087e893fc925cca4bf58028afc81c489eec6734ebfd8f4863efb7d18cf7a32c
6-
sourceBlobDigest: sha256:4e3323d3888356b178e9c48755150f4ce1513eab3be07a65c55350545c9dc5fc
5+
sourceRevisionDigest: sha256:eed465880cb19876973df07a2fb1e378f6b44c66d435f9cf83c3ec3411bfc099
6+
sourceBlobDigest: sha256:271d724b5ff860fcd6932d747c1c0bb9eece5cdaeba5cc2a170309d641900d25
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1749513971
9+
- speakeasy-sdk-regen-1750118766
1010
- 1.0.0
1111
targets:
1212
stackone:
1313
source: StackOne-OAS
1414
sourceNamespace: stackone-oas
15-
sourceRevisionDigest: sha256:0087e893fc925cca4bf58028afc81c489eec6734ebfd8f4863efb7d18cf7a32c
16-
sourceBlobDigest: sha256:4e3323d3888356b178e9c48755150f4ce1513eab3be07a65c55350545c9dc5fc
15+
sourceRevisionDigest: sha256:eed465880cb19876973df07a2fb1e378f6b44c66d435f9cf83c3ec3411bfc099
16+
sourceBlobDigest: sha256:271d724b5ff860fcd6932d747c1c0bb9eece5cdaeba5cc2a170309d641900d25
1717
codeSamplesNamespace: stack-one-oas-java-code-samples
18-
codeSamplesRevisionDigest: sha256:0cbefd4f0e8ab7653660b9961d01ac3b32c9069964d221b9dd332a94baff9391
18+
codeSamplesRevisionDigest: sha256:d0e6ae29032a835b58a3e46f97fcf3955de11a1ec29e7d95ae8ca02613c978cb
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 82 additions & 60 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ Based on:
118118
### Generated
119119
- [java v0.6.0] .
120120
### Releases
121-
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.6.0 - .
121+
- [Maven Central v0.6.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.6.0 - .
122+
123+
## 2025-07-08 00:05:46
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc
127+
- Speakeasy CLI 1.576.1 (2.651.2) https://github.com/speakeasy-api/speakeasy
128+
### Generated
129+
- [java v0.7.0] .
130+
### Releases
131+
- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.7.0 - .

USAGE.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ package hello.world;
77
import com.stackone.stackone_client_java.StackOne;
88
import com.stackone.stackone_client_java.models.components.Security;
99
import com.stackone.stackone_client_java.models.errors.*;
10-
import com.stackone.stackone_client_java.models.operations.HrisListEmployeesQueryParamFilter;
11-
import com.stackone.stackone_client_java.models.operations.HrisListEmployeesRequest;
10+
import com.stackone.stackone_client_java.models.operations.*;
1211
import java.lang.Exception;
1312

1413
public class Application {
@@ -17,8 +16,8 @@ public class Application {
1716

1817
StackOne sdk = StackOne.builder()
1918
.security(Security.builder()
20-
.username("")
21-
.password("")
19+
.username(System.getenv().getOrDefault("", ""))
20+
.password(System.getenv().getOrDefault("", ""))
2221
.build())
2322
.build();
2423

@@ -35,8 +34,8 @@ public class Application {
3534
sdk.hris().listEmployees()
3635
.request(req)
3736
.callAsStream()
38-
.forEach(item -> {
39-
// handle item
37+
.forEach((HrisListEmployeesResponse item) -> {
38+
// handle page
4039
});
4140

4241
}

build.gradle

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ repositories {
2727
}
2828

2929
java {
30-
sourceCompatibility = JavaVersion.VERSION_11
31-
targetCompatibility = JavaVersion.VERSION_11
3230
withSourcesJar()
3331
withJavadocJar()
3432
}
@@ -65,6 +63,10 @@ tasks.withType(Javadoc) {
6563
options.addStringOption('Xdoclint:none', '-quiet')
6664
}
6765

66+
tasks.withType(JavaCompile).configureEach {
67+
options.release = 11
68+
}
69+
6870
sourcesJar {
6971
archiveBaseName = "${artifactId}"
7072
}
@@ -103,11 +105,15 @@ publishing {
103105
// https://github.com/gradle/gradle/issues/18619
104106
groupId = "com.stackone"
105107
artifactId = "stackone-client-java"
106-
version = "0.6.0"
108+
version = "0.7.0"
107109

108110
from components.java
109111

110112
pom {
113+
properties = [
114+
'maven.compiler.source': '11',
115+
'maven.compiler.target': '11',
116+
]
111117
name = 'StackOne Java SDK'
112118
description = 'SDK enabling Java developers to easily integrate with the StackOne API.'
113119
url = 'https://github.com/owner/repo'
@@ -158,4 +164,4 @@ dependencies {
158164
implementation 'com.jayway.jsonpath:json-path:2.9.0'
159165
}
160166

161-
apply from: 'build-extras.gradle'
167+
apply from: 'build-extras.gradle'

docs/models/components/Active.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Active
22

3-
The reference status
3+
Whether the content is active and available for users.
44

docs/models/components/Actor.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Actor
2+
3+
The actor who made the change
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
10+
| `id` | *JsonNullable\<String>* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
11+
| `remoteId` | *JsonNullable\<String>* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ApplicationChanges
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
8+
| `id` | *JsonNullable\<String>* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
9+
| `remoteId` | *JsonNullable\<String>* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
10+
| `createdAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | Timestamp when the change was created | 2024-01-15T10:30:00Z |
11+
| `effectiveAt` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_minus_sign: | Timestamp when the change became effective | 2024-01-15T10:30:00Z |
12+
| `actor` | [JsonNullable\<Actor>](../../models/components/Actor.md) | :heavy_minus_sign: | The actor who made the change | |
13+
| `changeType` | [JsonNullable\<ChangeType>](../../models/components/ChangeType.md) | :heavy_minus_sign: | The type of change that occurred to the application | |
14+
| `newValues` | [ApplicationChangesDataModel](../../models/components/ApplicationChangesDataModel.md) | :heavy_check_mark: | The new values for changed application properties. Only includes fields that commonly change over the application lifecycle. | |

0 commit comments

Comments
 (0)