diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 126d44c4..b8e5e0fa 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -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 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 0bc609d9..50d4abbc 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -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 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a6b6262a..c03241ef 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -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 diff --git a/README.md b/README.md index 974db46e..6e53a0ed 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/RELEASES.md b/RELEASES.md index 0c40a427..47bf1153 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -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 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index c6f554a2..cecd232a 100644 --- a/build.gradle +++ b/build.gradle @@ -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") } } @@ -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 diff --git a/docs/sdks/opaapiclient/README.md b/docs/sdks/opaapiclient/README.md index c8565d23..4d7a72fe 100644 --- a/docs/sdks/opaapiclient/README.md +++ b/docs/sdks/opaapiclient/README.md @@ -80,14 +80,14 @@ public class Application { ### Response -**[Optional](../../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 @@ -156,14 +156,14 @@ public class Application { ### Response -**[Optional](../../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 @@ -235,14 +235,14 @@ public class Application { ### Response -**[Optional](../../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 @@ -315,14 +315,14 @@ public class Application { ### Response -**[Optional](../../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 @@ -389,10 +389,10 @@ public class Application { ### Response -**[Optional](../../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 | \*\/* | diff --git a/settings.gradle b/settings.gradle index 12ff7d38..abf456ce 100644 --- a/settings.gradle +++ b/settings.gradle @@ -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' diff --git a/src/main/java/com/styra/opa/openapi/SDKConfiguration.java b/src/main/java/com/styra/opa/openapi/SDKConfiguration.java index 389add80..2bd0a04f 100644 --- a/src/main/java/com/styra/opa/openapi/SDKConfiguration.java +++ b/src/main/java/com/styra/opa/openapi/SDKConfiguration.java @@ -21,9 +21,9 @@ public Optional 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();