Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.344.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 19, 2024
1 parent 4adc6a9 commit ecae038
Show file tree
Hide file tree
Showing 16 changed files with 91 additions and 31 deletions.
13 changes: 7 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 1d22a5a4-8bac-42e3-b164-121fcacf66c9
management:
docChecksum: 93fd7098475aa331fae95503f8934b72
docChecksum: 8a8b44e8346bd0bbfc9f9cf4d44c5332
docVersion: v1
speakeasyVersion: 1.326.0
generationVersion: 2.359.0
releaseVersion: 0.2.0-beta
configChecksum: de7fbb5de3c7c17b46702003b95160f3
speakeasyVersion: 1.344.1
generationVersion: 2.376.2
releaseVersion: 0.2.0-beta.1
configChecksum: 7c3b30a29936e871c5d3a84e419796a4
repoURL: https://github.com/clerk/clerk-sdk-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.26.1
core: 3.26.3
deprecations: 2.81.1
examples: 2.81.3
flattening: 2.81.1
Expand Down Expand Up @@ -1130,3 +1130,4 @@ generatedFiles:
- docs/sdks/samlconnections/README.md
- docs/sdks/testingtokens/README.md
- USAGE.md
- CONTRIBUTING.md
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.2.0-beta
version: 0.2.0-beta.1
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand Down
12 changes: 7 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.326.0
speakeasyVersion: 1.344.1
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:3a1ad8c4068801685c9f560fef1bafcc7653425ca07dadae6ebf6ff5f4c3dcf7
sourceBlobDigest: sha256:be6a2adf86086a55368c73204dfb84b5ca2f9d8514f771aff33857624a212e56
sourceRevisionDigest: sha256:6fb509867eb0fd844d2fe7330cb4cd9a1a6afd31413a5e80425bd793dcf3d85a
sourceBlobDigest: sha256:fef3d33e54dbb616ee6a1a5bf34e0c4aff249bad121fc78e57b55581318c753b
tags:
- latest
- main
targets:
clerk-java:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:3a1ad8c4068801685c9f560fef1bafcc7653425ca07dadae6ebf6ff5f4c3dcf7
sourceBlobDigest: sha256:be6a2adf86086a55368c73204dfb84b5ca2f9d8514f771aff33857624a212e56
sourceRevisionDigest: sha256:6fb509867eb0fd844d2fe7330cb4cd9a1a6afd31413a5e80425bd793dcf3d85a
sourceBlobDigest: sha256:fef3d33e54dbb616ee6a1a5bf34e0c4aff249bad121fc78e57b55581318c753b
outLocation: /github/workspace/repo
my-first-target:
source: clerk-java-sdk
Expand All @@ -27,6 +27,8 @@ workflow:
clerk-java-sdk:
inputs:
- location: ./openapi.yml
overlays:
- location: fixes.yml
registry:
location: registry.speakeasyapi.dev/clerk/clerk/clerk-java-sdk
targets:
Expand Down
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
4 changes: 2 additions & 2 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.2.0-beta'
implementation 'com.clerk:backend-api:0.2.0-beta.1'
```

Maven:
```xml
<dependency>
<groupId>com.clerk</groupId>
<artifactId>backend-api</artifactId>
<version>0.2.0-beta</version>
<version>0.2.0-beta.1</version>
</dependency>
```

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

## 2024-07-19 22:24:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.344.1 (2.376.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v0.2.0-beta.1] .
### Releases
- [Maven Central v0.2.0-beta.1] https://central.sonatype.com/artifact/com.clerk/backend-api/0.2.0-beta.1 - .
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// Additions to the plugins block can be made by setting the `additionalPlugins` property (an array
// of string where each string value is an additional line in the block) in gen.yaml.
////////////////////////////////////////////////////////////////////////////////////////////

plugins {
// Apply the java-library plugin for API and implementation separation.
id 'java-library'
Expand Down Expand Up @@ -61,7 +62,7 @@ tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
group = "com.clerk"
version = "0.2.0-beta"
version = "0.2.0-beta.1"

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

from components.java

Expand Down
5 changes: 4 additions & 1 deletion docs/models/components/OTPVerificationStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
| --------------------------- | --------------------------- |
| `PHONE_CODE` | phone_code |
| `EMAIL_CODE` | email_code |
| `RESET_PASSWORD_EMAIL_CODE` | reset_password_email_code |
| `RESET_PASSWORD_EMAIL_CODE` | reset_password_email_code |
| `FROM_OAUTH_DISCORD` | from_oauth_discord |
| `FROM_OAUTH_GOOGLE` | from_oauth_google |
| `FROM_OAUTH_APPLE` | from_oauth_apple |
11 changes: 7 additions & 4 deletions docs/models/components/OauthVerificationStrategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

## Values

| Name | Value |
| -------------- | -------------- |
| `OAUTH_GOOGLE` | oauth_google |
| `OAUTH_MOCK` | oauth_mock |
| Name | Value |
| -------------------- | -------------------- |
| `OAUTH_GOOGLE` | oauth_google |
| `OAUTH_MOCK` | oauth_mock |
| `FROM_OAUTH_GOOGLE` | from_oauth_google |
| `FROM_OAUTH_DISCORD` | from_oauth_discord |
| `OAUTH_APPLE` | oauth_apple |
5 changes: 4 additions & 1 deletion docs/models/components/Strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@
| --------------------------- | --------------------------- |
| `PHONE_CODE` | phone_code |
| `EMAIL_CODE` | email_code |
| `RESET_PASSWORD_EMAIL_CODE` | reset_password_email_code |
| `RESET_PASSWORD_EMAIL_CODE` | reset_password_email_code |
| `FROM_OAUTH_DISCORD` | from_oauth_discord |
| `FROM_OAUTH_GOOGLE` | from_oauth_google |
| `FROM_OAUTH_APPLE` | from_oauth_apple |
3 changes: 2 additions & 1 deletion docs/models/components/Type.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
| -------------- | -------------- |
| `OAUTH_GOOGLE` | oauth_google |
| `OAUTH_MOCK` | oauth_mock |
| `SAML` | saml |
| `SAML` | saml |
| `OAUTH_APPLE` | oauth_apple |
6 changes: 3 additions & 3 deletions src/main/java/com/clerk/backend_api/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ public Optional<SecuritySource> securitySource() {
public int serverIdx = 0;
public String language = "java";
public String openapiDocVersion = "v1";
public String sdkVersion = "0.2.0-beta";
public String genVersion = "2.359.0";
public String userAgent = "speakeasy-sdk/java 0.2.0-beta 2.359.0 v1 com.clerk.backend_api";
public String sdkVersion = "0.2.0-beta.1";
public String genVersion = "2.376.2";
public String userAgent = "speakeasy-sdk/java 0.2.0-beta.1 2.376.2 v1 com.clerk.backend_api";

private com.clerk.backend_api.utils.Hooks _hooks = createHooks();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
public enum OTPVerificationStrategy {
PHONE_CODE("phone_code"),
EMAIL_CODE("email_code"),
RESET_PASSWORD_EMAIL_CODE("reset_password_email_code");
RESET_PASSWORD_EMAIL_CODE("reset_password_email_code"),
FROM_OAUTH_DISCORD("from_oauth_discord"),
FROM_OAUTH_GOOGLE("from_oauth_google"),
FROM_OAUTH_APPLE("from_oauth_apple");

@JsonValue
private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@

public enum OauthVerificationStrategy {
OAUTH_GOOGLE("oauth_google"),
OAUTH_MOCK("oauth_mock");
OAUTH_MOCK("oauth_mock"),
FROM_OAUTH_GOOGLE("from_oauth_google"),
FROM_OAUTH_DISCORD("from_oauth_discord"),
OAUTH_APPLE("oauth_apple");

@JsonValue
private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
public enum Strategy {
PHONE_CODE("phone_code"),
EMAIL_CODE("email_code"),
RESET_PASSWORD_EMAIL_CODE("reset_password_email_code");
RESET_PASSWORD_EMAIL_CODE("reset_password_email_code"),
FROM_OAUTH_DISCORD("from_oauth_discord"),
FROM_OAUTH_GOOGLE("from_oauth_google"),
FROM_OAUTH_APPLE("from_oauth_apple");

@JsonValue
private final String value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
public enum Type {
OAUTH_GOOGLE("oauth_google"),
OAUTH_MOCK("oauth_mock"),
SAML("saml");
SAML("saml"),
OAUTH_APPLE("oauth_apple");

@JsonValue
private final String value;
Expand Down

0 comments on commit ecae038

Please sign in to comment.