Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
126 changes: 97 additions & 29 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 0.18.0
version: 0.18.1
additionalDependencies: []
additionalPlugins: []
artifactID: stackone-client-java
Expand All @@ -37,8 +37,8 @@ java:
companyURL: www.stackone.com
defaultErrorName: SDKError
enableCustomCodeRegions: false
enableSlf4jLogging: false
enableStreamingUploads: false
enhancedUnionMemberResolution: true
flattenGlobalSecurity: true
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
Expand All @@ -52,6 +52,7 @@ java:
operations: models/operations
shared: models/components
webhooks: models/webhooks
inferUnionDiscriminators: false
inputModelSuffix: input
languageVersion: 11
license:
Expand All @@ -61,6 +62,8 @@ java:
maxMethodParams: 4
nullFriendlyParameters: false
openUnions: true
operationScopedParams: true
outputModelSuffix: output
projectName: stackone-client-java
templateVersion: v2
unionStrategy: populated-fields
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.658.2
speakeasyVersion: 1.661.2
sources:
StackOne-OAS:
sourceNamespace: stackone-oas
sourceRevisionDigest: sha256:c4ff42e2e2b94d90ba3429c149fe9b15581378686fedbe7d2a739689247d4042
sourceBlobDigest: sha256:26db7f2f87f809c7b192277f4f63d5b4ab9bd0637afcf69d703230c11bb7d37f
sourceRevisionDigest: sha256:8afe103a1972759a3a3b4f4e0fd0b8bb9f82c8102eb05a2522a466c44d27b07a
sourceBlobDigest: sha256:024af6adb5a33d4ae7e3300c89dbbd3951cc4b8dd42e05b0d9c61bbf016e4b21
tags:
- latest
- speakeasy-sdk-regen-1762905986
- speakeasy-sdk-regen-1763769977
- 1.0.0
targets:
stackone:
source: StackOne-OAS
sourceNamespace: stackone-oas
sourceRevisionDigest: sha256:c4ff42e2e2b94d90ba3429c149fe9b15581378686fedbe7d2a739689247d4042
sourceBlobDigest: sha256:26db7f2f87f809c7b192277f4f63d5b4ab9bd0637afcf69d703230c11bb7d37f
sourceRevisionDigest: sha256:8afe103a1972759a3a3b4f4e0fd0b8bb9f82c8102eb05a2522a466c44d27b07a
sourceBlobDigest: sha256:024af6adb5a33d4ae7e3300c89dbbd3951cc4b8dd42e05b0d9c61bbf016e4b21
codeSamplesNamespace: stack-one-oas-java-code-samples
codeSamplesRevisionDigest: sha256:807981ea6a035f41207b015b319bf1b4f07bf7d517696d5bc7853b2ffb369585
codeSamplesRevisionDigest: sha256:0fb9465f9a0d765ec2cb8bbc22ef2e7ddc42017df1b965c9f846155f87b39edf
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.stackone:stackone-client-java:0.18.0'
implementation 'com.stackone:stackone-client-java:0.18.1'
```

Maven:
```xml
<dependency>
<groupId>com.stackone</groupId>
<artifactId>stackone-client-java</artifactId>
<version>0.18.0</version>
<version>0.18.1</version>
</dependency>
```

Expand Down Expand Up @@ -256,6 +256,8 @@ public class Application {
* [getApplicationStage](docs/sdks/ats/README.md#getapplicationstage) - Get Application Stage
* [listInterviews](docs/sdks/ats/README.md#listinterviews) - List Interviews
* [getInterview](docs/sdks/ats/README.md#getinterview) - Get Interview
* [createInterviewNote](docs/sdks/ats/README.md#createinterviewnote) - Create Interview Note
* [updateInterviewNote](docs/sdks/ats/README.md#updateinterviewnote) - Update Interview Note
* [listJobs](docs/sdks/ats/README.md#listjobs) - List Jobs
* [createJob](docs/sdks/ats/README.md#createjob) - Create Job
* [listJobApplicationStages](docs/sdks/ats/README.md#listjobapplicationstages) - List Job Application Stages
Expand Down Expand Up @@ -424,7 +426,6 @@ public class Application {
* [listContent](docs/sdks/lms/README.md#listcontent) - List Content
* [upsertContent](docs/sdks/lms/README.md#upsertcontent) - Upsert External Linking Learning Objects
* [getContent](docs/sdks/lms/README.md#getcontent) - Get Content
* [updateContent](docs/sdks/lms/README.md#updatecontent) - Update External Linking Learning Objects
* [listUserCompletions](docs/sdks/lms/README.md#listusercompletions) - List User Completions
* [createUserCompletion](docs/sdks/lms/README.md#createusercompletion) - Create User Completion
* [getUserCompletion](docs/sdks/lms/README.md#getusercompletion) - Get User Completion
Expand Down Expand Up @@ -1295,9 +1296,11 @@ public class Application {
## Debugging

### Debug

You can setup your SDK to emit debug logs for SDK requests and responses.

For request and response logging (especially json bodies), call `enableHTTPDebugLogging(boolean)` on the SDK builder like so:

```java
SDK.builder()
.enableHTTPDebugLogging(true)
Expand All @@ -1315,10 +1318,11 @@ Response body:
"token": "global"
}
```
__WARNING__: This should only used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.
__WARNING__: This logging should only be used for temporary debugging purposes. Leaving this option on in a production system could expose credentials/secrets in logs. <i>Authorization</i> headers are redacted by default and there is the ability to specify redacted header names via `SpeakeasyHTTPClient.setRedactedHeaders`.

__NOTE__: This is a convenience method that calls `HTTPClient.enableDebugLogging()`. The `SpeakeasyHTTPClient` honors this setting. If you are using a custom HTTP client, it is up to the custom client to honor this setting.


Another option is to set the System property `-Djdk.httpclient.HttpClient.log=all`. However, this second option does not log bodies.
<!-- End Debugging [debug] -->

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,4 +298,14 @@ Based on:
### Generated
- [java v0.18.0] .
### Releases
- [Maven Central v0.18.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.18.0 - .
- [Maven Central v0.18.0] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.18.0 - .

## 2025-11-26 00:06:11
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.661.2 (2.763.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.18.1] .
### Releases
- [Maven Central v0.18.1] https://central.sonatype.com/artifact/com.stackone/stackone-client-java/0.18.1 - .
2 changes: 2 additions & 0 deletions docs/models/components/EmploymentManagerApiModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@
| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
| `id` | *JsonNullable\<String>* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
| `remoteId` | *JsonNullable\<String>* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 |
| `name` | *JsonNullable\<String>* | :heavy_minus_sign: | The manager name | John Doe |
| `email` | *JsonNullable\<String>* | :heavy_minus_sign: | The manager email | [email protected] |
| `role` | [JsonNullable\<Role>](../../models/components/Role.md) | :heavy_minus_sign: | The role of manager | |
Loading