Skip to content
Open
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
248 changes: 88 additions & 160 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 5.0.0
version: 5.0.1
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.777.0
speakeasyVersion: 1.784.0
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:d15346bde80f5abad95d77c66b96208b660c78544a4c4dca48b2068565d13717
sourceBlobDigest: sha256:2ca2b3040b8261f61ac0c56c7fd9a942f7ad5ed5312eb73d44b7b9b648605b29
sourceRevisionDigest: sha256:553774563cf7e2673e07432aa44141e85282ea79263434a38d6eb51cc45dbf07
sourceBlobDigest: sha256:f6c0c8c73d05d15f320a1ceb3f43541a72f6e5e060609ffdbb4fabb635e64e20
tags:
- latest
- "2026-05-12"
targets:
clerk-java:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:d15346bde80f5abad95d77c66b96208b660c78544a4c4dca48b2068565d13717
sourceBlobDigest: sha256:2ca2b3040b8261f61ac0c56c7fd9a942f7ad5ed5312eb73d44b7b9b648605b29
sourceRevisionDigest: sha256:553774563cf7e2673e07432aa44141e85282ea79263434a38d6eb51cc45dbf07
sourceBlobDigest: sha256:f6c0c8c73d05d15f320a1ceb3f43541a72f6e5e060609ffdbb4fabb635e64e20
codeSamplesNamespace: clerk-java-sdk-code-samples
codeSamplesRevisionDigest: sha256:32607a6473b6c49509d6ece1b9e94b3a87ac3637e18aa700d8b08c90997c9cd9
codeSamplesRevisionDigest: sha256:1091fbe841d4b8318e0a7843c0576ade1dc1558e5fa23bee0616ecfb210da654
my-first-target:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.clerk:backend-api:5.0.0'
implementation 'com.clerk:backend-api:5.0.1'
```

Maven:
```xml
<dependency>
<groupId>com.clerk</groupId>
<artifactId>backend-api</artifactId>
<version>5.0.0</version>
<version>5.0.1</version>
</dependency>
```

Expand Down Expand Up @@ -663,12 +663,14 @@ Handling errors in this SDK should largely match your expectations. All operatio
package hello.world;

import com.clerk.backend_api.Clerk;
import com.clerk.backend_api.models.errors.*;
import com.clerk.backend_api.models.errors.ClerkError;
import com.clerk.backend_api.models.errors.ClerkErrors;
import com.clerk.backend_api.models.operations.VerifyClientResponse;
import java.io.UncheckedIOException;
import java.lang.Exception;
import java.util.List;
import java.util.Optional;
import java.lang.Object;
import java.lang.String;
import java.util.*;

public class Application {

Expand Down Expand Up @@ -705,7 +707,7 @@ public class Application {
// Check error data fields
e.data().ifPresent(payload -> {
List<com.clerk.backend_api.models.components.ClerkError> errors = payload.errors();
Optional<Meta> meta = payload.meta();
Optional<Map<String, Object>> meta = payload.meta();
});
}

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,4 +428,14 @@ Based on:
### Generated
- [java v5.0.0] .
### Releases
- [Maven Central v5.0.0] https://central.sonatype.com/artifact/com.clerk/backend-api/5.0.0 - .
- [Maven Central v5.0.0] https://central.sonatype.com/artifact/com.clerk/backend-api/5.0.0 - .

## 2026-06-20 00:35:36
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.784.0 (2.911.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v5.0.1] .
### Releases
- [Maven Central v5.0.1] https://central.sonatype.com/artifact/com.clerk/backend-api/5.0.1 - .
12 changes: 6 additions & 6 deletions docs/models/components/ClerkError.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | [Optional\<Meta>](../../models/components/Meta.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | Map\<String, *Object*> | :heavy_minus_sign: | N/A |

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/models/components/ClerkErrorErrorMeta.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/models/components/ClerkErrorErrorSAMLAccountMeta.md

This file was deleted.

3 changes: 2 additions & 1 deletion docs/models/components/EnrollmentMode.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ EnrollmentMode value = EnrollmentMode.MANUAL_INVITATION;
| ---------------------- | ---------------------- |
| `MANUAL_INVITATION` | manual_invitation |
| `AUTOMATIC_INVITATION` | automatic_invitation |
| `AUTOMATIC_SUGGESTION` | automatic_suggestion |
| `AUTOMATIC_SUGGESTION` | automatic_suggestion |
| `ENTERPRISE_SSO` | enterprise_sso |
12 changes: 6 additions & 6 deletions docs/models/components/ErrorClerkError.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | [Optional\<ErrorMeta>](../../models/components/ErrorMeta.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | Map\<String, *Object*> | :heavy_minus_sign: | N/A |
7 changes: 0 additions & 7 deletions docs/models/components/ErrorMeta.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/models/components/Meta.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | [Optional\<ClerkErrorErrorExternalAccountWithVerificationVerificationMeta>](../../models/components/ClerkErrorErrorExternalAccountWithVerificationVerificationMeta.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | Map\<String, *Object*> | :heavy_minus_sign: | N/A |
12 changes: 6 additions & 6 deletions docs/models/components/VerificationOauthErrorClerkError.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | [Optional\<ClerkErrorErrorExternalAccountWithVerificationMeta>](../../models/components/ClerkErrorErrorExternalAccountWithVerificationMeta.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------- | ---------------------- | ---------------------- | ---------------------- |
| `message` | *String* | :heavy_check_mark: | N/A |
| `longMessage` | *String* | :heavy_check_mark: | N/A |
| `code` | *String* | :heavy_check_mark: | N/A |
| `meta` | Map\<String, *Object*> | :heavy_minus_sign: | N/A |
Loading
Loading