Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.314.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jun 24, 2024
1 parent 2a04058 commit 90bb0ca
Show file tree
Hide file tree
Showing 36 changed files with 228 additions and 209 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ id: 1d22a5a4-8bac-42e3-b164-121fcacf66c9
management:
docChecksum: 93fd7098475aa331fae95503f8934b72
docVersion: v1
speakeasyVersion: 1.308.1
generationVersion: 2.342.6
releaseVersion: 0.0.7
configChecksum: 9b28dbcdf23f69543c2d231d6602b4ad
speakeasyVersion: 1.314.2
generationVersion: 2.349.6
releaseVersion: 0.1.0
configChecksum: 9783c7366fd2c02c11ea3f56295f29f4
repoURL: https://github.com/clerk/clerk-sdk-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.23.2
core: 3.24.1
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
java:
version: 0.0.7
version: 0.1.0
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand Down
6 changes: 3 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
speakeasyVersion: 1.308.1
speakeasyVersion: 1.314.2
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:5e10a06ed81708645c450c8bbac2ac9a99d115ea4929af0d91ecb2f6419d1500
sourceRevisionDigest: sha256:f5888c6bf3bd541a4a9a55034ab16a131e889988f0bf794ffe9afbf3a90ee0b3
sourceBlobDigest: sha256:be6a2adf86086a55368c73204dfb84b5ca2f9d8514f771aff33857624a212e56
tags:
- latest
Expand All @@ -11,7 +11,7 @@ targets:
my-first-target:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:5e10a06ed81708645c450c8bbac2ac9a99d115ea4929af0d91ecb2f6419d1500
sourceRevisionDigest: sha256:f5888c6bf3bd541a4a9a55034ab16a131e889988f0bf794ffe9afbf3a90ee0b3
sourceBlobDigest: sha256:be6a2adf86086a55368c73204dfb84b5ca2f9d8514f771aff33857624a212e56
outLocation: /github/workspace/repo
workflow:
Expand Down
74 changes: 24 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'com.clerk:backend-api:0.0.7'
implementation 'com.clerk:backend-api:0.1.0'
```

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

Expand Down Expand Up @@ -76,32 +76,22 @@ public class Application {
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

GetClientListResponse res = sdk.clients().list()
sdk.clients().list()
.limit(10L)
.offset(0L)
.call();
.callAsStreamUnwrapped()
.forEach(item -> {
// handle item
});

while (true) {
if (res.clientList().isPresent()) {
// handle response
Optional<GetClientListResponse> nextRes = res.next();
if (nextRes.isPresent()) {
res = nextRes.get();
} else {
break;
}
}
}
} catch (com.clerk.backend_api.models.errors.ClerkErrors e) {
// handle exception
throw e;
} catch (com.clerk.backend_api.models.errors.SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -158,6 +148,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -388,32 +379,22 @@ public class Application {
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

GetClientListResponse res = sdk.clients().list()
sdk.clients().list()
.limit(10L)
.offset(0L)
.call();
.callAsStreamUnwrapped()
.forEach(item -> {
// handle item
});

while (true) {
if (res.clientList().isPresent()) {
// handle response
Optional<GetClientListResponse> nextRes = res.next();
if (nextRes.isPresent()) {
res = nextRes.get();
} else {
break;
}
}
}
} catch (com.clerk.backend_api.models.errors.ClerkErrors e) {
// handle exception
throw e;
} catch (com.clerk.backend_api.models.errors.SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -456,32 +437,22 @@ public class Application {
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

GetClientListResponse res = sdk.clients().list()
sdk.clients().list()
.limit(10L)
.offset(0L)
.call();
.callAsStreamUnwrapped()
.forEach(item -> {
// handle item
});

while (true) {
if (res.clientList().isPresent()) {
// handle response
Optional<GetClientListResponse> nextRes = res.next();
if (nextRes.isPresent()) {
res = nextRes.get();
} else {
break;
}
}
}
} catch (com.clerk.backend_api.models.errors.ClerkErrors e) {
// handle exception
throw e;
} catch (com.clerk.backend_api.models.errors.SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -537,6 +508,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -582,6 +554,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -636,6 +609,7 @@ public class Application {
// handle exception
throw e;
}

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

## 2024-06-24 00:08:29
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.314.2 (2.349.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.1.0] .
### Releases
- [Maven Central v0.1.0] https://central.sonatype.com/artifact/com.clerk/backend-api/0.1.0 - .
23 changes: 7 additions & 16 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,22 @@ public class Application {
.bearerAuth("<YOUR_BEARER_TOKEN_HERE>")
.build();

GetClientListResponse res = sdk.clients().list()
sdk.clients().list()
.limit(10L)
.offset(0L)
.call();
.callAsStreamUnwrapped()
.forEach(item -> {
// handle item
});

while (true) {
if (res.clientList().isPresent()) {
// handle response
Optional<GetClientListResponse> nextRes = res.next();
if (nextRes.isPresent()) {
res = nextRes.get();
} else {
break;
}
}
}
} catch (com.clerk.backend_api.models.errors.ClerkErrors e) {
// handle exception
throw e;
} catch (com.clerk.backend_api.models.errors.SDKError e) {
// handle exception
throw e;
} catch (Exception e) {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -106,6 +96,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
group = "com.clerk"
version = "0.0.7"
version = "0.1.0"

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

from components.java

Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/actors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -130,6 +131,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down
3 changes: 3 additions & 0 deletions docs/sdks/allowlist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -121,6 +122,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -190,6 +192,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down
3 changes: 3 additions & 0 deletions docs/sdks/blocklist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -121,6 +122,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down Expand Up @@ -190,6 +192,7 @@ public class Application {
// handle exception
throw e;
}

}
}
```
Expand Down
Loading

0 comments on commit 90bb0ca

Please sign in to comment.