Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.455.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 15, 2024
1 parent 4eb946b commit d062293
Show file tree
Hide file tree
Showing 44 changed files with 1,050 additions and 773 deletions.
13 changes: 7 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: 1d22a5a4-8bac-42e3-b164-121fcacf66c9
management:
docChecksum: f252eab002a20aa369d77a296d7c0a20
docChecksum: 10e470dbac1740bbb345d904d53ef04a
docVersion: v1
speakeasyVersion: 1.448.0
generationVersion: 2.466.0
releaseVersion: 1.4.0
configChecksum: d53c47a510eb971ffc5be704cbfee77e
speakeasyVersion: 1.455.3
generationVersion: 2.479.3
releaseVersion: 1.5.0
configChecksum: 5fe64054d82adba341d847ebd655945d
repoURL: https://github.com/clerk/clerk-sdk-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
additionalProperties: 0.0.1
constsAndDefaults: 0.1.1
core: 3.32.2
core: 3.33.1
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
Expand Down Expand Up @@ -1244,6 +1244,7 @@ generatedFiles:
- src/main/java/com/clerk/backend_api/utils/Security.java
- src/main/java/com/clerk/backend_api/utils/SecurityMetadata.java
- src/main/java/com/clerk/backend_api/utils/SerializedBody.java
- src/main/java/com/clerk/backend_api/utils/SessionManager.java
- src/main/java/com/clerk/backend_api/utils/SpeakeasyHTTPClient.java
- src/main/java/com/clerk/backend_api/utils/SpeakeasyMetadata.java
- src/main/java/com/clerk/backend_api/utils/TypedObject.java
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
java:
version: 1.4.0
version: 1.5.0
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand Down
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.448.0
speakeasyVersion: 1.455.3
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:3f7ff6d209ea29dda2dbcc2d6f8dd3c754cc7d2782521497a50d67e13d2e0800
sourceBlobDigest: sha256:1efc95e7472ef7c4e15659f395e0b717ef56cdd21c71e285cb116057f5900b2e
sourceRevisionDigest: sha256:9d6a05bfc9c28a63d35bf6e4cb70a70b3475a0d1047ee82bf269328f4d71580e
sourceBlobDigest: sha256:ff770ca4e1220e72028c4285967fd63f63c68a1d27da9815d826384905cadcfa
tags:
- latest
- speakeasy-sdk-regen-1732579755
- speakeasy-sdk-regen-1733789375
- v1
targets:
clerk-java:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:3f7ff6d209ea29dda2dbcc2d6f8dd3c754cc7d2782521497a50d67e13d2e0800
sourceBlobDigest: sha256:1efc95e7472ef7c4e15659f395e0b717ef56cdd21c71e285cb116057f5900b2e
sourceRevisionDigest: sha256:9d6a05bfc9c28a63d35bf6e4cb70a70b3475a0d1047ee82bf269328f4d71580e
sourceBlobDigest: sha256:ff770ca4e1220e72028c4285967fd63f63c68a1d27da9815d826384905cadcfa
codeSamplesNamespace: clerk-java-sdk-code-samples
codeSamplesRevisionDigest: sha256:b6e9e9a65dc0933a71833892ddbd81fc4c966a105ba18feffb05d7e7c8c11b85
codeSamplesRevisionDigest: sha256:7aefcda02f2a66d79732491e07b2e5369f1a0d537cce81c424797474ebf0f4ce
my-first-target:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
Expand Down
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,18 @@ More information about the API can be found at https://clerk.com/docs

<!-- Start Table of Contents [toc] -->
## Table of Contents
<!-- $toc-max-depth=2 -->
* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Authentication](#authentication)
* [Request Authentication](#request-authentication)
* [Available Resources and Operations](#available-resources-and-operations)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Development](#development)
* [Maturity](#maturity)
* [Contributions](#contributions)

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Authentication](#authentication)
* [Request Authentication](#request-authentication)
* [Available Resources and Operations](#available-resources-and-operations)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
Expand All @@ -48,15 +52,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.clerk:backend-api:1.4.0'
implementation 'com.clerk:backend-api:1.5.0'
```

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

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

## 2024-12-15 00:10:21
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.455.3 (2.479.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v1.5.0] .
### Releases
- [Maven Central v1.5.0] https://central.sonatype.com/artifact/com.clerk/backend-api/1.5.0 - .
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
}

group = "com.clerk"
version = "1.4.0"
version = "1.5.0"

sourcesJar {
archiveBaseName = "backend-api"
Expand Down Expand Up @@ -101,7 +101,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.clerk'
artifactId = 'backend-api'
version = '1.4.0'
version = '1.5.0'

from components.java

Expand Down
24 changes: 12 additions & 12 deletions src/main/java/com/clerk/backend_api/ActorTokens.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ public CreateActorTokenResponse create(
_req.addHeader("Accept", "application/json")
.addHeader("user-agent",
SDKConfiguration.USER_AGENT);


Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
Utils.configureSecurity(_req,
this.sdkConfiguration.securitySource.getSecurity());

HTTPClient _client = this.sdkConfiguration.defaultClient;
HttpRequest _r =
sdkConfiguration.hooks()
.beforeRequest(
new BeforeRequestContextImpl(
"CreateActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
_req.build());
HttpResponse<InputStream> _httpRes;
try {
Expand All @@ -107,7 +107,7 @@ public CreateActorTokenResponse create(
new AfterErrorContextImpl(
"CreateActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
Optional.of(_httpRes),
Optional.empty());
} else {
Expand All @@ -116,7 +116,7 @@ public CreateActorTokenResponse create(
new AfterSuccessContextImpl(
"CreateActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
_httpRes);
}
} catch (Exception _e) {
Expand All @@ -125,7 +125,7 @@ public CreateActorTokenResponse create(
new AfterErrorContextImpl(
"CreateActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
Optional.empty(),
Optional.of(_e));
}
Expand Down Expand Up @@ -223,18 +223,18 @@ public RevokeActorTokenResponse revoke(
_req.addHeader("Accept", "application/json")
.addHeader("user-agent",
SDKConfiguration.USER_AGENT);


Optional<SecuritySource> _hookSecuritySource = this.sdkConfiguration.securitySource();
Utils.configureSecurity(_req,
this.sdkConfiguration.securitySource.getSecurity());

HTTPClient _client = this.sdkConfiguration.defaultClient;
HttpRequest _r =
sdkConfiguration.hooks()
.beforeRequest(
new BeforeRequestContextImpl(
"RevokeActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
_req.build());
HttpResponse<InputStream> _httpRes;
try {
Expand All @@ -245,7 +245,7 @@ public RevokeActorTokenResponse revoke(
new AfterErrorContextImpl(
"RevokeActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
Optional.of(_httpRes),
Optional.empty());
} else {
Expand All @@ -254,7 +254,7 @@ public RevokeActorTokenResponse revoke(
new AfterSuccessContextImpl(
"RevokeActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
_httpRes);
}
} catch (Exception _e) {
Expand All @@ -263,7 +263,7 @@ public RevokeActorTokenResponse revoke(
new AfterErrorContextImpl(
"RevokeActorToken",
Optional.of(List.of()),
sdkConfiguration.securitySource()),
_hookSecuritySource),
Optional.empty(),
Optional.of(_e));
}
Expand Down
Loading

0 comments on commit d062293

Please sign in to comment.