Skip to content

Commit bc3bb65

Browse files
authored
Merge branch 'OpenAPITools:master' into master
2 parents 3afa595 + 4a7e0c9 commit bc3bb65

File tree

9,710 files changed

+87849
-33661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,710 files changed

+87849
-33661
lines changed

.github/workflows/gradle-plugin-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
java-version: 11
2121
distribution: 'temurin'
22+
cache: gradle
2223
- name: Cache maven dependencies
2324
uses: actions/cache@v4
2425
env:

.github/workflows/gradle-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
with:
3838
distribution: 'temurin'
3939
java-version: 11
40+
cache: gradle
4041
# Cache Gradle Dependencies
4142
- name: Setup Gradle Dependencies Cache
4243
uses: actions/cache@v4

.github/workflows/linux.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
distribution: 'temurin'
2929
java-version: ${{ matrix.java }}
30+
cache: gradle
3031

3132
- uses: actions/cache@v4
3233
with:
@@ -61,7 +62,7 @@ jobs:
6162
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
6263

6364
- name: Upload Maven build artifact
64-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@v5
6566
if: matrix.java == '11' && matrix.os == 'ubuntu-latest'
6667
with:
6768
name: artifact
@@ -95,8 +96,9 @@ jobs:
9596
with:
9697
java-version: 11
9798
maven-version: 3.8.8
99+
cache: gradle
98100
- name: Download build artifact
99-
uses: actions/download-artifact@v5
101+
uses: actions/download-artifact@v6
100102
with:
101103
name: artifact
102104
- name: Run Ensures Script

.github/workflows/openapi-generator.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
java-version: 11
2323
distribution: 'temurin'
24+
cache: gradle
2425
- name: Cache maven dependencies
2526
uses: actions/cache@v4
2627
env:
@@ -41,7 +42,7 @@ jobs:
4142
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
4243
- run: ls -la modules/openapi-generator-cli/target
4344
- name: Upload openapi-generator-cli.jar artifact
44-
uses: actions/upload-artifact@v4
45+
uses: actions/upload-artifact@v5
4546
with:
4647
name: openapi-generator-cli.jar
4748
path: modules/openapi-generator-cli/target/openapi-generator-cli.jar
@@ -59,6 +60,7 @@ jobs:
5960
with:
6061
java-version: 11
6162
distribution: 'temurin'
63+
cache: gradle
6264
- name: Cache maven dependencies
6365
uses: actions/cache@v4
6466
env:
@@ -79,7 +81,7 @@ jobs:
7981
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
8082
- name: Publish unit test reports
8183
if: ${{ always() }}
82-
uses: actions/upload-artifact@v4
84+
uses: actions/upload-artifact@v5
8385
with:
8486
name: surefire-test-results
8587
path: '**/surefire-reports/TEST-*.xml'
@@ -97,7 +99,7 @@ jobs:
9799
java-version: 11
98100
distribution: 'temurin'
99101
- name: Download openapi-generator-cli.jar artifact
100-
uses: actions/download-artifact@v5
102+
uses: actions/download-artifact@v6
101103
with:
102104
name: openapi-generator-cli.jar
103105
path: modules/openapi-generator-cli/target
@@ -136,7 +138,7 @@ jobs:
136138
java-version: 11
137139
distribution: 'temurin'
138140
- name: Download openapi-generator-cli.jar artifact
139-
uses: actions/download-artifact@v5
141+
uses: actions/download-artifact@v6
140142
with:
141143
name: openapi-generator-cli.jar
142144
path: modules/openapi-generator-cli/target

.github/workflows/samples-groovy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
with:
2727
distribution: 'temurin'
2828
java-version: 8
29+
cache: gradle
2930
- name: Cache maven dependencies
3031
uses: actions/cache@v4
3132
env:

.github/workflows/samples-java-client-jdk11.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
- samples/client/petstore/java/native
6262
- samples/client/petstore/java/native-async
6363
- samples/client/petstore/java/native-jakarta
64+
- samples/client/petstore/java/native-useGzipFeature
6465
- samples/client/petstore/java/retrofit2
6566
- samples/client/petstore/java/retrofit2rx2
6667
- samples/client/petstore/java/retrofit2rx3
@@ -118,6 +119,7 @@ jobs:
118119
with:
119120
distribution: 'temurin'
120121
java-version: 11
122+
cache: gradle
121123
- name: Cache maven dependencies
122124
uses: actions/cache@v4
123125
env:

.github/workflows/samples-java-client-jdk17.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
with:
4343
distribution: 'temurin'
4444
java-version: 17
45+
cache: gradle
4546
- name: Cache maven dependencies
4647
uses: actions/cache@v4
4748
env:

.github/workflows/samples-jaxrs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- samples/server/petstore/jaxrs-cxf-cdi
3535
- samples/server/petstore/jaxrs-cxf-non-spring-app
3636
- samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations
37+
- samples/server/petstore/jaxrs-spec-swagger-annotations
38+
- samples/server/petstore/jaxrs-spec-swagger-v3-annotations-jakarta
39+
- samples/server/petstore/jaxrs-spec-swagger-v3-annotations
3740
steps:
3841
- uses: actions/checkout@v5
3942
- uses: actions/setup-java@v5

.github/workflows/samples-kotlin-client.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- samples/client/petstore/kotlin-threetenbp
4545
- samples/client/petstore/kotlin-kotlinx-datetime
4646
- samples/client/petstore/kotlin-uppercase-enum
47+
- samples/client/petstore/kotlin-array-integer-enum
4748
- samples/client/petstore/kotlin-default-values-jvm-okhttp4
4849
- samples/client/petstore/kotlin-default-values-jvm-retrofit2
4950
- samples/client/petstore/kotlin-default-values-jvm-volley
@@ -71,12 +72,14 @@ jobs:
7172
- samples/client/others/kotlin-jvm-okhttp-path-comments
7273
- samples/client/others/kotlin-integer-enum
7374
- samples/client/petstore/kotlin-allOf-discriminator-kotlinx-serialization
75+
- samples/client/others/kotlin-oneOf-discriminator-kotlinx-serialization
7476
steps:
7577
- uses: actions/checkout@v5
7678
- uses: actions/setup-java@v5
7779
with:
7880
distribution: 'temurin'
7981
java-version: 11
82+
cache: gradle
8083
- name: Cache maven dependencies
8184
uses: actions/cache@v4
8285
env:

.github/workflows/samples-kotlin-echo-api.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
with:
2727
distribution: 'temurin'
2828
java-version: 17
29+
cache: gradle
2930
- name: Cache maven dependencies
3031
uses: actions/cache@v4
3132
env:

0 commit comments

Comments
 (0)