Skip to content

Commit ad1559e

Browse files
authored
Merge pull request #82 from StyraInc/speakeasy-sdk-regen-1744220550
chore: 🐝 Update SDK - 02 - Generate 2.0.2
2 parents 66bab7c + a39818a commit ad1559e

File tree

10 files changed

+23
-22
lines changed

10 files changed

+23
-22
lines changed

.speakeasy/gen.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ management:
55
docVersion: 0.2.0
66
speakeasyVersion: 1.531.0
77
generationVersion: 2.568.2
8-
releaseVersion: 2.0.1
9-
configChecksum: 42198fc5147c51e424c236fd088325c5
8+
releaseVersion: 2.0.2
9+
configChecksum: 1601af2b5a1f9a3672d5d79b7a093b83
1010
repoURL: https://github.com/StyraInc/opa-java.git
1111
published: true
1212
features:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: false
1616
oAuth2PasswordEnabled: false
1717
java:
18-
version: 2.0.1
18+
version: 2.0.2
1919
additionalDependencies:
2020
- testImplementation:org.junit.jupiter:junit-jupiter-api:5.8.2
2121
- runtimeOnly:org.junit.jupiter:junit-jupiter-engine:5.8.2

.speakeasy/workflow.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@ speakeasyVersion: 1.531.0
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:d6919d2bcf6107a3a276070c0051ac0816663cb6d213186840da2f4ae4cd8e13
5+
sourceRevisionDigest: sha256:5cb6bc3127a9d1c1ffa8aa2d31de43c9aeb09cbf73ada99457332c71e483f6c5
66
sourceBlobDigest: sha256:fc6e2df14a721c45f2d4277c775c9ac01fc7ef2a51ed40c09d41e8e361084690
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1744220550
910
- 0.2.0
1011
targets:
1112
opa:
1213
source: openapi
1314
sourceNamespace: openapi
14-
sourceRevisionDigest: sha256:d6919d2bcf6107a3a276070c0051ac0816663cb6d213186840da2f4ae4cd8e13
15+
sourceRevisionDigest: sha256:5cb6bc3127a9d1c1ffa8aa2d31de43c9aeb09cbf73ada99457332c71e483f6c5
1516
sourceBlobDigest: sha256:fc6e2df14a721c45f2d4277c775c9ac01fc7ef2a51ed40c09d41e8e361084690
1617
codeSamplesNamespace: openapi-java-code-samples
17-
codeSamplesRevisionDigest: sha256:22cec36ccd6696f7f32df6ad1aa74c27e1a386d8a5d4fc26516e4dd87049d631
18+
codeSamplesRevisionDigest: sha256:2bf0df51ca8a20694a0a0e160efe53693a39bcefa820bc8812e575c657a6af28
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest

RELEASES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,13 @@ Based on:
360360
### Releases
361361
- [Maven Central v1.8.0] https://central.sonatype.com/artifact/com.styra.opa/openapi/1.8.0 - .
362362

363-
## 2025-04-09
363+
364+
## 2025-04-09 17:42:15
364365
### Changes
365366
Based on:
366-
- OpenAPI Doc
367-
- Speakeasy CLI 1.531.0 https://github.com/speakeasy-api/speakeasy
368-
- Fixing Path Encoding
367+
- OpenAPI Doc
368+
- Speakeasy CLI 1.531.0 (2.568.2) https://github.com/speakeasy-api/speakeasy
369369
### Generated
370-
- [java v2.0.1] .
370+
- [java v2.0.2] .
371371
### Releases
372-
- [Maven Central v2.0.1] https://central.sonatype.com/artifact/com.styra.opa/openapi/2.0.1 - .
372+
- [Maven Central v2.0.2] https://central.sonatype.com/artifact/com.styra.opa/openapi/2.0.2 - .

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ plugins {
1616
id 'signing'
1717
id("java")
1818
id("checkstyle")
19+
id "nebula.lint" version "17.8.0"
1920
}
2021

2122
compileJava.options.encoding = "UTF-8"
@@ -28,8 +29,8 @@ repositories {
2829
}
2930

3031
java {
31-
sourceCompatibility = JavaVersion.VERSION_17
32-
targetCompatibility = JavaVersion.VERSION_17
32+
sourceCompatibility = JavaVersion.VERSION_11
33+
targetCompatibility = JavaVersion.VERSION_11
3334
withSourcesJar()
3435
withJavadocJar()
3536
}
@@ -46,7 +47,7 @@ group = "${groupId}"
4647
jar {
4748
dependsOn(":generatePomFileForMavenPublication")
4849

49-
into("META-INF/maven/com.styra.opa/openapi") {
50+
into("META-INF/maven/com.styra/opa") {
5051
from("$buildDir/pom.xml")
5152
}
5253
}
@@ -92,7 +93,7 @@ publishing {
9293
// https://github.com/gradle/gradle/issues/18619
9394
groupId = "com.styra.opa"
9495
artifactId = "openapi"
95-
version = "2.0.1"
96+
version = "2.0.2"
9697

9798
from components.java
9899

@@ -145,7 +146,6 @@ dependencies {
145146
testImplementation 'org.testcontainers:junit-jupiter:1.20.1'
146147
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.0'
147148
api 'com.fasterxml.jackson.core:jackson-core:2.17.0'
148-
implementation 'org.apache.httpcomponents:httpcore:4.4.16'
149149
api 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
150150
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.18.2'
151151
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.18.2'

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
groupId=com.styra.opa
22
artifactId=openapi
3-
version=2.0.1
3+
version=2.0.2

scripts/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ OUTPUT_DIR="$(realpath "$OUTPUT_DIR")"
2222
TEMP="$(mktemp -d)"
2323
trap "rm -rf '$TEMP'" EXIT
2424

25-
./gradlew build javadoc -x test -x lint
25+
./gradlew build javadoc -x test -x autoLintGradle -x lint
2626

2727
cp -R ./docs/site/* "$TEMP"
2828
cp -R ./docs/models "$TEMP/docs/"

scripts/check-version-mismatch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GEN_YAML_VERSION="$(opa eval -f raw -I 'input.java.version' < .speakeasy/gen.yam
1111

1212
RELEASES_MD_VERSION="$(awk '/^### Generated/ {s=1} s==1 && /java v[0-9]/ {s=0; print}' < RELEASES.md | tail -n1 | cut -d'[' -f 2 | cut -d']' -f 1 | cut -d' ' -f2 | tr -d 'v')"
1313

14-
BUILD_GRADLE_VERSION="$(awk '$1 == "version"' < build.gradle | cut -d'"' -f2 | head -n 1)"
14+
BUILD_GRADLE_VERSION="$(awk '$1 == "version"' < build.gradle | cut -d'"' -f2 | tail -n 1)"
1515

1616
SDK_VERSION="$(awk '$3 == "sdkVersion"' < src/main/java/com/styra/opa/openapi/SDKConfiguration.java | cut -d'"' -f2)"
1717

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
* in the user manual at https://docs.gradle.org/7.5.1/userguide/multi_project_builds.html
88
*/
99

10-
rootProject.name = 'openapi'
10+
rootProject.name = 'opa'

src/main/java/com/styra/opa/openapi/SDKConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public String resolvedServerUrl() {
2828
public int serverIdx = 0;
2929
private static final String LANGUAGE = "java";
3030
public static final String OPENAPI_DOC_VERSION = "0.2.0";
31-
public static final String SDK_VERSION = "2.0.1";
31+
public static final String SDK_VERSION = "2.0.2";
3232
public static final String GEN_VERSION = "2.568.2";
3333
private static final String BASE_PACKAGE = "com.styra.opa.openapi";
3434
public static final String USER_AGENT =

0 commit comments

Comments
 (0)