Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.453.8
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 10, 2024
1 parent 8a851dd commit 2af662a
Show file tree
Hide file tree
Showing 228 changed files with 99 additions and 27,802 deletions.
222 changes: 6 additions & 216 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
speakeasyVersion: 1.453.3
speakeasyVersion: 1.453.8
sources:
first-source: {}
my-source:
sourceNamespace: my-source-new
sourceRevisionDigest: sha256:b56a66a65c018c272c05bccbcf248a9d1fb717f64322a256ca45fa7064050eab
sourceBlobDigest: sha256:94614599491dcd3859835f58fbbadca00059a54206c33f328525b43e96e85be9
sourceRevisionDigest: sha256:d98b68c455816df2a35e2d2dc40c82d87e334cc70d13eab254b9712155774746
sourceBlobDigest: sha256:ea7b721c1acda44f01c6184a4f236eaa1ad66db6b40b3d14f6e6ae437755cdcb
tags:
- latest
- speakeasy-sdk-regen-1733616174
- speakeasy-sdk-regen-1733788971
- 0.4.0
targets:
java-target:
source: my-source
sourceNamespace: my-source-new
sourceRevisionDigest: sha256:b56a66a65c018c272c05bccbcf248a9d1fb717f64322a256ca45fa7064050eab
sourceBlobDigest: sha256:94614599491dcd3859835f58fbbadca00059a54206c33f328525b43e96e85be9
sourceRevisionDigest: sha256:d98b68c455816df2a35e2d2dc40c82d87e334cc70d13eab254b9712155774746
sourceBlobDigest: sha256:ea7b721c1acda44f01c6184a4f236eaa1ad66db6b40b3d14f6e6ae437755cdcb
codeSamplesNamespace: my-source-java-code-samples
codeSamplesRevisionDigest: sha256:a6e9b0dab0d5d29b97adb94b679287304e7878cc97b0fa5680528a8803b0cee4
codeSamplesRevisionDigest: sha256:be6c22f056b8a9d4bcbdb8c59d6ffefa237885e2ee696da655b824321a3163cd
py:
source: first-source
ts:
Expand Down
73 changes: 17 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ The samples below show how a published SDK artifact is used:

Gradle:
```groovy
implementation 'dev.speakeasyapi:javaclientsdk:7.21.0'
implementation 'dev.speakeasyapi:javaclientsdk:7.22.0'
```

Maven:
```xml
<dependency>
<groupId>dev.speakeasyapi</groupId>
<artifactId>javaclientsdk</artifactId>
<version>7.21.0</version>
<version>7.22.0</version>
</dependency>
```

Expand Down Expand Up @@ -71,10 +71,13 @@ package hello.world;

import dev.speakeasyapi.javaclientsdk.RyanTest;
import dev.speakeasyapi.javaclientsdk.models.errors.Error;
import dev.speakeasyapi.javaclientsdk.models.operations.GetApisRequest;
import dev.speakeasyapi.javaclientsdk.models.operations.GetApisResponse;
import dev.speakeasyapi.javaclientsdk.models.operations.GenerateCodeSamplePreviewResponse;
import dev.speakeasyapi.javaclientsdk.models.shared.CodeSampleSchemaInput;
import dev.speakeasyapi.javaclientsdk.models.shared.SchemaFile;
import dev.speakeasyapi.javaclientsdk.models.shared.Security;
import java.lang.Exception;
import java.nio.charset.StandardCharsets;
import java.util.List;

public class Application {

Expand All @@ -86,14 +89,21 @@ public class Application {
.build())
.build();

GetApisRequest req = GetApisRequest.builder()
CodeSampleSchemaInput req = CodeSampleSchemaInput.builder()
.languages(List.of(
"<value>",
"<value>"))
.schemaFile(SchemaFile.builder()
.content("0xc3dD8BfBef".getBytes(StandardCharsets.UTF_8))
.fileName("example.file")
.build())
.build();

GetApisResponse res = sdk.apis().getApis()
GenerateCodeSamplePreviewResponse res = sdk.generateCodeSamplePreview()
.request(req)
.call();

if (res.apis().isPresent()) {
if (res.twoHundredApplicationJsonResponseStream().isPresent()) {
// handle response
}
}
Expand All @@ -107,26 +117,6 @@ public class Application {
<details open>
<summary>Available methods</summary>

### [apiEndpoints()](docs/sdks/apiendpoints/README.md)

* [deleteApiEndpoint](docs/sdks/apiendpoints/README.md#deleteapiendpoint) - Delete an ApiEndpoint.
* [findApiEndpoint](docs/sdks/apiendpoints/README.md#findapiendpoint) - Find an ApiEndpoint via its displayName.
* [generateOpenApiSpecForApiEndpoint](docs/sdks/apiendpoints/README.md#generateopenapispecforapiendpoint) - Generate an OpenAPI specification for a particular ApiEndpoint.
* [generatePostmanCollectionForApiEndpoint](docs/sdks/apiendpoints/README.md#generatepostmancollectionforapiendpoint) - Generate a Postman collection for a particular ApiEndpoint.
* [getAllApiEndpoints](docs/sdks/apiendpoints/README.md#getallapiendpoints) - Get all Api endpoints for a particular apiID.
* [getAllForVersionApiEndpoints](docs/sdks/apiendpoints/README.md#getallforversionapiendpoints) - Get all ApiEndpoints for a particular apiID and versionID.
* [getApiEndpoint](docs/sdks/apiendpoints/README.md#getapiendpoint) - Get an ApiEndpoint.
* [upsertApiEndpoint](docs/sdks/apiendpoints/README.md#upsertapiendpoint) - Upsert an ApiEndpoint.

### [apis()](docs/sdks/apis/README.md)

* [deleteApi](docs/sdks/apis/README.md#deleteapi) - Delete an Api.
* [generateOpenApiSpec](docs/sdks/apis/README.md#generateopenapispec) - Generate an OpenAPI specification for a particular Api.
* [generatePostmanCollection](docs/sdks/apis/README.md#generatepostmancollection) - Generate a Postman collection for a particular Api.
* [getAllApiVersions](docs/sdks/apis/README.md#getallapiversions) - Get all Api versions for a particular ApiEndpoint.
* [getApis](docs/sdks/apis/README.md#getapis) - Get a list of Apis for a given workspace
* [upsertApi](docs/sdks/apis/README.md#upsertapi) - Upsert an Api

### [artifacts()](docs/sdks/artifacts/README.md)

* [createRemoteSource](docs/sdks/artifacts/README.md#createremotesource) - Configure a new remote source
Expand All @@ -147,12 +137,6 @@ public class Application {
* [getUser](docs/sdks/auth/README.md#getuser) - Get information about the current user.
* [validateApiKey](docs/sdks/auth/README.md#validateapikey) - Validate the current api key.

### [embeds()](docs/sdks/embeds/README.md)

* [getEmbedAccessToken](docs/sdks/embeds/README.md#getembedaccesstoken) - Get an embed access token for the current workspace.
* [getValidEmbedAccessTokens](docs/sdks/embeds/README.md#getvalidembedaccesstokens) - Get all valid embed access tokens for the current workspace.
* [revokeEmbedAccessToken](docs/sdks/embeds/README.md#revokeembedaccesstoken) - Revoke an embed access EmbedToken.

### [events()](docs/sdks/events/README.md)

* [getEventsByTarget](docs/sdks/events/README.md#geteventsbytarget) - Load recent events for a particular workspace
Expand All @@ -175,12 +159,6 @@ public class Application {
* [storePublishingSecrets](docs/sdks/github/README.md#storepublishingsecrets)
* [triggerAction](docs/sdks/github/README.md#triggeraction)

### [metadata()](docs/sdks/metadata/README.md)

* [deleteVersionMetadata](docs/sdks/metadata/README.md#deleteversionmetadata) - Delete metadata for a particular apiID and versionID.
* [getVersionMetadata](docs/sdks/metadata/README.md#getversionmetadata) - Get all metadata for a particular apiID and versionID.
* [insertVersionMetadata](docs/sdks/metadata/README.md#insertversionmetadata) - Insert metadata for a particular apiID and versionID.

### [organizations()](docs/sdks/organizations/README.md)

* [create](docs/sdks/organizations/README.md#create) - Create an organization
Expand All @@ -195,29 +173,12 @@ public class Application {
* [getLintingReportSignedUrl](docs/sdks/reports/README.md#getlintingreportsignedurl) - Get the signed access url for the linting reports for a particular document.
* [uploadReport](docs/sdks/reports/README.md#uploadreport) - Upload a report.

### [requests()](docs/sdks/requests/README.md)

* [generateRequestPostmanCollection](docs/sdks/requests/README.md#generaterequestpostmancollection) - Generate a Postman collection for a particular request.
* [getRequestFromEventLog](docs/sdks/requests/README.md#getrequestfromeventlog) - Get information about a particular request.
* [queryEventLog](docs/sdks/requests/README.md#queryeventlog) - Query the event log to retrieve a list of requests.

### [RyanTest SDK](docs/sdks/ryantest/README.md)

* [generateCodeSamplePreview](docs/sdks/ryantest/README.md#generatecodesamplepreview) - Generate Code Sample previews from a file and configuration parameters.
* [generateCodeSamplePreviewAsync](docs/sdks/ryantest/README.md#generatecodesamplepreviewasync) - Initiate asynchronous Code Sample preview generation from a file and configuration parameters, receiving an async JobID response for polling.
* [getCodeSamplePreviewAsync](docs/sdks/ryantest/README.md#getcodesamplepreviewasync) - Poll for the result of an asynchronous Code Sample preview generation.

### [schemas()](docs/sdks/schemas/README.md)

* [deleteSchema](docs/sdks/schemas/README.md#deleteschema) - Delete a particular schema revision for an Api.
* [downloadSchema](docs/sdks/schemas/README.md#downloadschema) - Download the latest schema for a particular apiID.
* [downloadSchemaRevision](docs/sdks/schemas/README.md#downloadschemarevision) - Download a particular schema revision for an Api.
* [getSchema](docs/sdks/schemas/README.md#getschema) - Get information about the latest schema.
* [getSchemaDiff](docs/sdks/schemas/README.md#getschemadiff) - Get a diff of two schema revisions for an Api.
* [getSchemaRevision](docs/sdks/schemas/README.md#getschemarevision) - Get information about a particular schema revision for an Api.
* [getSchemas](docs/sdks/schemas/README.md#getschemas) - Get information about all schemas associated with a particular apiID.
* [registerSchema](docs/sdks/schemas/README.md#registerschema) - Register a schema.

### [shortURLs()](docs/sdks/shorturls/README.md)

* [create](docs/sdks/shorturls/README.md#create) - Shorten a URL.
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1986,4 +1986,14 @@ Based on:
### Generated
- [java v7.21.0] .
### Releases
- [Maven Central v7.21.0] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.21.0 - .
- [Maven Central v7.21.0] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.21.0 - .

## 2024-12-10 00:02:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.453.8 (2.474.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v7.22.0] .
### Releases
- [Maven Central v7.22.0] https://central.sonatype.com/artifact/dev.speakeasyapi/javaclientsdk/7.22.0 - .
20 changes: 15 additions & 5 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ package hello.world;

import dev.speakeasyapi.javaclientsdk.RyanTest;
import dev.speakeasyapi.javaclientsdk.models.errors.Error;
import dev.speakeasyapi.javaclientsdk.models.operations.GetApisRequest;
import dev.speakeasyapi.javaclientsdk.models.operations.GetApisResponse;
import dev.speakeasyapi.javaclientsdk.models.operations.GenerateCodeSamplePreviewResponse;
import dev.speakeasyapi.javaclientsdk.models.shared.CodeSampleSchemaInput;
import dev.speakeasyapi.javaclientsdk.models.shared.SchemaFile;
import dev.speakeasyapi.javaclientsdk.models.shared.Security;
import java.lang.Exception;
import java.nio.charset.StandardCharsets;
import java.util.List;

public class Application {

Expand All @@ -19,14 +22,21 @@ public class Application {
.build())
.build();

GetApisRequest req = GetApisRequest.builder()
CodeSampleSchemaInput req = CodeSampleSchemaInput.builder()
.languages(List.of(
"<value>",
"<value>"))
.schemaFile(SchemaFile.builder()
.content("0xc3dD8BfBef".getBytes(StandardCharsets.UTF_8))
.fileName("example.file")
.build())
.build();

GetApisResponse res = sdk.apis().getApis()
GenerateCodeSamplePreviewResponse res = sdk.generateCodeSamplePreview()
.request(req)
.call();

if (res.apis().isPresent()) {
if (res.twoHundredApplicationJsonResponseStream().isPresent()) {
// handle response
}
}
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) {
}

group = "dev.speakeasyapi"
version = "7.21.0"
version = "7.22.0"

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

from components.java

Expand Down
Loading

0 comments on commit 2af662a

Please sign in to comment.