Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.431.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 6, 2024
1 parent 28eb975 commit 42bf800
Show file tree
Hide file tree
Showing 16 changed files with 630 additions and 19 deletions.
20 changes: 15 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 66f99777-b2f2-4e45-9581-501d199e5c0c
management:
docChecksum: b9f4df1a0421fee4ec97798e335d51a4
docChecksum: f62c8a3acae2b0b2308c3147b20a4ef6
docVersion: 0.4.0
speakeasyVersion: 1.425.3
generationVersion: 2.446.5
releaseVersion: 7.17.2
configChecksum: 7b8794ac808249854c40e770574ac6a4
speakeasyVersion: 1.431.0
generationVersion: 2.451.0
releaseVersion: 7.17.3
configChecksum: 6942a7761e542be0c06889fa1032eb51
repoURL: https://github.com/speakeasy-api/speakeasy-client-sdk-java.git
repoSubDirectory: .
published: true
Expand Down Expand Up @@ -156,6 +156,8 @@ generatedFiles:
- docs/models/operations/GrantUserAccessToWorkspaceResponse.md
- docs/models/operations/InsertVersionMetadataRequest.md
- docs/models/operations/InsertVersionMetadataResponse.md
- docs/models/operations/LinkGithubAccessRequest.md
- docs/models/operations/LinkGithubAccessResponse.md
- docs/models/operations/ListRegistrySubscriptionsRequest.md
- docs/models/operations/ListRegistrySubscriptionsResponse.md
- docs/models/operations/ListRemoteSourcesRequest.md
Expand Down Expand Up @@ -518,6 +520,9 @@ generatedFiles:
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/InsertVersionMetadataRequest.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/InsertVersionMetadataRequestBuilder.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/InsertVersionMetadataResponse.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/LinkGithubAccessRequest.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/LinkGithubAccessRequestBuilder.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/LinkGithubAccessResponse.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/ListRegistrySubscriptionsRequest.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/ListRegistrySubscriptionsRequestBuilder.java
- src/main/java/dev/speakeasyapi/javaclientsdk/models/operations/ListRegistrySubscriptionsResponse.java
Expand Down Expand Up @@ -1708,3 +1713,8 @@ examples:
responses:
"200":
application/json: [{"created_at": "2022-12-26T20:06:41.993Z", "event_type": "update", "id": "<id>", "namespace_name": "<value>", "subscription_settings": "<value>", "subscription_type": "cli", "updated_at": "2023-10-12T18:58:27.338Z", "workspace_id": "<id>"}, {"created_at": "2022-07-07T11:51:20.859Z", "event_type": "update", "id": "<id>", "namespace_name": "<value>", "subscription_settings": "<value>", "subscription_type": "cli", "updated_at": "2022-03-26T04:16:26.649Z", "workspace_id": "<id>"}]
linkGithubAccess:
speakeasy-default-link-github-access:
responses:
4XX:
application/json: {"message": "<value>", "status_code": 774553}
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.425.3
speakeasyVersion: 1.431.0
sources:
first-source: {}
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:65c020e20fd7eeca98ef27afc9df458894a9872b84d4a65a5a6852fe3219d9e0
sourceBlobDigest: sha256:6d8765013ce7c812f90acefdbc7c135d4c046fd580a837b0e5f44d4605067a03
sourceRevisionDigest: sha256:0baee403df5d181275d181437ef0a33a46aee829adae13edb2f26c34f59747ac
sourceBlobDigest: sha256:626d2551e4a9e62c3e36b71f3896d953746f43790e69b8e2475591aa049940ed
tags:
- latest
- main
targets:
java-target:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:65c020e20fd7eeca98ef27afc9df458894a9872b84d4a65a5a6852fe3219d9e0
sourceBlobDigest: sha256:6d8765013ce7c812f90acefdbc7c135d4c046fd580a837b0e5f44d4605067a03
sourceRevisionDigest: sha256:0baee403df5d181275d181437ef0a33a46aee829adae13edb2f26c34f59747ac
sourceBlobDigest: sha256:626d2551e4a9e62c3e36b71f3896d953746f43790e69b8e2475591aa049940ed
codeSamplesNamespace: code-samples-java-java-target
codeSamplesRevisionDigest: sha256:cef21a96e085142ccbfe62ba18d3a76f56e0a6ff2cdbe0cea703ef177cdd6d9c
codeSamplesRevisionDigest: sha256:090049372ba577956f75cb84cb0a754d62f65581424dd107a7f922b20d1f6029
py:
source: first-source
ts:
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'dev.speakeasyapi:javaclientsdk:7.17.2'
implementation 'dev.speakeasyapi:javaclientsdk:7.17.3'
```

Maven:
```xml
<dependency>
<groupId>dev.speakeasyapi</groupId>
<artifactId>javaclientsdk</artifactId>
<version>7.17.2</version>
<version>7.17.3</version>
</dependency>
```

Expand Down Expand Up @@ -167,6 +167,7 @@ public class Application {
* [configureMintlifyRepo](docs/sdks/github/README.md#configuremintlifyrepo)
* [configureTarget](docs/sdks/github/README.md#configuretarget)
* [getAction](docs/sdks/github/README.md#getaction)
* [linkGithub](docs/sdks/github/README.md#linkgithub)
* [storePublishingSecrets](docs/sdks/github/README.md#storepublishingsecrets)
* [triggerAction](docs/sdks/github/README.md#triggeraction)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1716,4 +1716,14 @@ Based on:
### Generated
- [java v7.17.2] .
### Releases
- [Maven Central v7.17.2] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.17.2 - .
- [Maven Central v7.17.2] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.17.2 - .

## 2024-11-06 00:02:50
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.431.0 (2.451.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v7.17.3] .
### Releases
- [Maven Central v7.17.3] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.17.3 - .
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) {
}

group = "dev.speakeasyapi"
version = "7.17.2"
version = "7.17.3"

sourcesJar {
archiveBaseName = "javaclientsdk"
Expand All @@ -88,7 +88,7 @@ publishing {
maven(MavenPublication) {
groupId = 'dev.speakeasyapi'
artifactId = 'javaclientsdk'
version = '7.17.2'
version = '7.17.3'

from components.java

Expand Down
35 changes: 35 additions & 0 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1639,6 +1639,41 @@ actions:
.request(req)
.call();
// handle response
}
}
- target: $["paths"]["/v1/github/link"]["post"]
update:
x-codeSamples:
- lang: java
label: linkGithubAccess
source: |-
package hello.world;
import dev.speakeasyapi.javaclientsdk.SDK;
import dev.speakeasyapi.javaclientsdk.models.errors.Error;
import dev.speakeasyapi.javaclientsdk.models.operations.LinkGithubAccessRequest;
import dev.speakeasyapi.javaclientsdk.models.operations.LinkGithubAccessResponse;
import dev.speakeasyapi.javaclientsdk.models.shared.Security;
import java.lang.Exception;
public class Application {
public static void main(String[] args) throws Error, Exception {
SDK sdk = SDK.builder()
.security(Security.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.build())
.build();
LinkGithubAccessRequest req = LinkGithubAccessRequest.builder()
.build();
LinkGithubAccessResponse res = sdk.github().linkGithub()
.request(req)
.call();
// handle response
}
}
Expand Down
9 changes: 9 additions & 0 deletions docs/models/operations/LinkGithubAccessRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# LinkGithubAccessRequest


## Fields

| Field | Type | Required | Description |
| ------------------- | ------------------- | ------------------- | ------------------- |
| `githubOidcToken` | *Optional\<String>* | :heavy_minus_sign: | N/A |
| `installationId` | *Optional\<String>* | :heavy_minus_sign: | N/A |
10 changes: 10 additions & 0 deletions docs/models/operations/LinkGithubAccessResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# LinkGithubAccessResponse


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ |
| `contentType` | *String* | :heavy_check_mark: | HTTP response content type for this operation |
| `statusCode` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `rawResponse` | [HttpResponse\<InputStream>](https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpResponse.html) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
54 changes: 54 additions & 0 deletions docs/sdks/github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* [configureMintlifyRepo](#configuremintlifyrepo)
* [configureTarget](#configuretarget)
* [getAction](#getaction)
* [linkGithub](#linkgithub)
* [storePublishingSecrets](#storepublishingsecrets)
* [triggerAction](#triggeraction)

Expand Down Expand Up @@ -413,6 +414,59 @@ public class Application {
| models/errors/Error | 4XX | application/json |
| models/errors/SDKError | 5XX | \*/\* |

## linkGithub

### Example Usage

```java
package hello.world;

import dev.speakeasyapi.javaclientsdk.SDK;
import dev.speakeasyapi.javaclientsdk.models.errors.Error;
import dev.speakeasyapi.javaclientsdk.models.operations.LinkGithubAccessRequest;
import dev.speakeasyapi.javaclientsdk.models.operations.LinkGithubAccessResponse;
import dev.speakeasyapi.javaclientsdk.models.shared.Security;
import java.lang.Exception;

public class Application {

public static void main(String[] args) throws Error, Exception {

SDK sdk = SDK.builder()
.security(Security.builder()
.apiKey("<YOUR_API_KEY_HERE>")
.build())
.build();

LinkGithubAccessRequest req = LinkGithubAccessRequest.builder()
.build();

LinkGithubAccessResponse res = sdk.github().linkGithub()
.request(req)
.call();

// handle response
}
}
```

### Parameters

| Parameter | Type | Required | Description |
| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| `request` | [LinkGithubAccessRequest](../../models/operations/LinkGithubAccessRequest.md) | :heavy_check_mark: | The request object to use for the request. |

### Response

**[LinkGithubAccessResponse](../../models/operations/LinkGithubAccessResponse.md)**

### Errors

| Error Type | Status Code | Content Type |
| ---------------------- | ---------------------- | ---------------------- |
| models/errors/Error | 4XX | application/json |
| models/errors/SDKError | 5XX | \*/\* |

## storePublishingSecrets

### Example Usage
Expand Down
3 changes: 2 additions & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ generation:
requestResponseComponentNamesFeb2024: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
java:
version: 7.17.2
version: 7.17.3
additionalDependencies: []
additionalPlugins: []
artifactID: javaclientsdk
Expand Down
Loading

0 comments on commit 42bf800

Please sign in to comment.