Skip to content

Commit

Permalink
chore: 🐝 Update SDK - 02 - Generate (#56)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.330.0

* post-generation for speakeasy-sdk-regen-1719879638 at Tue Jul  9 00:21:41 UTC 2024

---------

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
3 people authored Jul 9, 2024
1 parent a67e2b4 commit e44e3b8
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 30 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: 47e8e950-a454-4ebb-9f78-86fda7dfa0c2
management:
docChecksum: a34bd1c885aa42eb3175940494581f67
docVersion: 0.2.0
speakeasyVersion: 1.320.0
generationVersion: 2.354.1
releaseVersion: 1.4.0
configChecksum: e2caf0c482268a1c778ee20dce74e3eb
speakeasyVersion: 1.330.0
generationVersion: 2.361.10
releaseVersion: 1.4.1
configChecksum: 15ea701d1a67023fdb23d96781f95904
repoURL: https://github.com/StyraInc/opa-java.git
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.26.0
core: 3.26.1
examples: 2.81.3
flattening: 2.81.1
globalSecurityCallbacks: 0.1.0
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: false
java:
version: 1.4.0
version: 1.4.1
additionalDependencies:
- testImplementation:org.junit.jupiter:junit-jupiter-api:5.8.2
- runtimeOnly:org.junit.jupiter:junit-jupiter-engine:5.8.2
Expand Down
11 changes: 6 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ speakeasyVersion: 1.320.0
sources:
openapi:
sourceNamespace: openapi
sourceRevisionDigest: sha256:160b992f9f36d7ee99ccfcf3fe3cff8693343dfa470d499fcff0bce054c7a71e
sourceBlobDigest: sha256:8b9d7ab82b2a9b48852bb5b6818294594a9a7949678b919f272da8f6518825aa
sourceRevisionDigest: sha256:98226a6e6d4d22c7779c985aa9bee80ee3ed63437747701c250ca84bcf790953
sourceBlobDigest: sha256:9fc02a5a0aa6e3238a3cc0c5ad45da0ea06c3fa15dba2d44550bc8009f1da38f
tags:
- latest
- main
targets:
opa:
source: openapi
sourceNamespace: openapi
sourceRevisionDigest: sha256:160b992f9f36d7ee99ccfcf3fe3cff8693343dfa470d499fcff0bce054c7a71e
sourceBlobDigest: sha256:8b9d7ab82b2a9b48852bb5b6818294594a9a7949678b919f272da8f6518825aa
outLocation: /Users/cad/f/src/opa-java
sourceRevisionDigest: sha256:98226a6e6d4d22c7779c985aa9bee80ee3ed63437747701c250ca84bcf790953
sourceBlobDigest: sha256:9fc02a5a0aa6e3238a3cc0c5ad45da0ea06c3fa15dba2d44550bc8009f1da38f
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ Handling errors in this SDK should largely match your expectations. All operati
| ------------------------- | ------------------------- | ------------------------- |
| models/errors/ClientError | 400,404 | application/json |
| models/errors/ServerError | 500 | application/json |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |

### Example

Expand Down
11 changes: 11 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,14 @@ Based on:
- [java v1.4.0] .
### Releases
- [Maven Central v1.4.0] https://central.sonatype.com/artifact/com.styra.opa/openapi/1.4.0 - .


## 2024-07-09 00:20:35
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.330.0 (2.361.10) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v1.4.1] .
### Releases
- [Maven Central v1.4.1] https://central.sonatype.com/artifact/com.styra.opa/openapi/1.4.1 - .
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ model {
jar {
dependsOn(":generatePomFileForMavenPublication")

into("META-INF/maven/com.styra.opa/openapi") {
into("META-INF/maven/com.styra/opa") {
from("$buildDir/pom.xml")
}
}
Expand Down Expand Up @@ -75,9 +75,9 @@ publishing {

publications {
maven(MavenPublication) {
groupId = 'com.styra.opa'
artifactId = 'openapi'
version = '1.4.0'
groupId = 'com.styra'
artifactId = 'opa'
version = '1.4.1'

from components.java

Expand Down
20 changes: 10 additions & 10 deletions docs/sdks/opaapiclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ public class Application {

### Response

**[Optional<? extends com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse>](../../models/operations/ExecuteDefaultPolicyWithInputResponse.md)**
**[com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse](../../models/operations/ExecuteDefaultPolicyWithInputResponse.md)**
### Errors

| Error Object | Status Code | Content Type |
| ------------------------- | ------------------------- | ------------------------- |
| models/errors/ClientError | 400,404 | application/json |
| models/errors/ServerError | 500 | application/json |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |

## executePolicy

Expand Down Expand Up @@ -156,14 +156,14 @@ public class Application {

### Response

**[Optional<? extends com.styra.opa.openapi.models.operations.ExecutePolicyResponse>](../../models/operations/ExecutePolicyResponse.md)**
**[com.styra.opa.openapi.models.operations.ExecutePolicyResponse](../../models/operations/ExecutePolicyResponse.md)**
### Errors

| Error Object | Status Code | Content Type |
| ------------------------- | ------------------------- | ------------------------- |
| models/errors/ClientError | 400 | application/json |
| models/errors/ServerError | 500 | application/json |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |

## executePolicyWithInput

Expand Down Expand Up @@ -235,14 +235,14 @@ public class Application {

### Response

**[Optional<? extends com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse>](../../models/operations/ExecutePolicyWithInputResponse.md)**
**[com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse](../../models/operations/ExecutePolicyWithInputResponse.md)**
### Errors

| Error Object | Status Code | Content Type |
| ------------------------- | ------------------------- | ------------------------- |
| models/errors/ClientError | 400 | application/json |
| models/errors/ServerError | 500 | application/json |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |

## executeBatchPolicyWithInput

Expand Down Expand Up @@ -315,14 +315,14 @@ public class Application {

### Response

**[Optional<? extends com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse>](../../models/operations/ExecuteBatchPolicyWithInputResponse.md)**
**[com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse](../../models/operations/ExecuteBatchPolicyWithInputResponse.md)**
### Errors

| Error Object | Status Code | Content Type |
| ------------------------------ | ------------------------------ | ------------------------------ |
| models/errors/ClientError | 400 | application/json |
| models/errors/BatchServerError | 500 | application/json |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |

## health

Expand Down Expand Up @@ -389,10 +389,10 @@ public class Application {

### Response

**[Optional<? extends com.styra.opa.openapi.models.operations.HealthResponse>](../../models/operations/HealthResponse.md)**
**[com.styra.opa.openapi.models.operations.HealthResponse](../../models/operations/HealthResponse.md)**
### Errors

| Error Object | Status Code | Content Type |
| ----------------------------- | ----------------------------- | ----------------------------- |
| models/errors/UnhealthyServer | 500 | application/json |
| models/errors/SDKError | 4xx-5xx | */* |
| models/errors/SDKError | 4xx-5xx | \*\/* |
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
* in the user manual at https://docs.gradle.org/7.5.1/userguide/multi_project_builds.html
*/

rootProject.name = 'openapi'
rootProject.name = 'opa'
6 changes: 3 additions & 3 deletions src/main/java/com/styra/opa/openapi/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 = "0.2.0";
public String sdkVersion = "1.4.0";
public String genVersion = "2.354.1";
public String userAgent = "speakeasy-sdk/java 1.4.0 2.354.1 0.2.0 com.styra.opa.openapi";
public String sdkVersion = "1.4.1";
public String genVersion = "2.361.10";
public String userAgent = "speakeasy-sdk/java 1.4.1 2.361.10 0.2.0 com.styra.opa.openapi";

private com.styra.opa.openapi.utils.Hooks _hooks = createHooks();

Expand Down

0 comments on commit e44e3b8

Please sign in to comment.