Skip to content

Commit 5cb655b

Browse files
Merge branch 'OpenAPITools:master' into fix/java-10010
2 parents bd9f46e + cbdee19 commit 5cb655b

1,609 files changed

Lines changed: 41287 additions & 5508 deletions

File tree

Some content is hidden

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

.geminiignore

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# .geminiignore
2+
# This file specifies intentionally untracked files that Gemini CLI should ignore.
3+
# It uses the same pattern matching rules as .gitignore.
4+
5+
# Build artifacts
6+
target/
7+
build/
8+
*.jar
9+
*.war
10+
*.ear
11+
*.class
12+
*.log
13+
14+
# IDE and editor files
15+
.idea/
16+
.vscode/
17+
*.iml
18+
*.ipr
19+
*.iws
20+
21+
# Maven/Gradle wrapper directories
22+
.mvn/wrapper/
23+
.gradle/
24+
25+
# Node.js dependencies for website
26+
website/node_modules/
27+
website/build/
28+
29+
# Generated sources by OpenAPI Generator (usually not to be touched directly)
30+
# This includes sample outputs which are generated code for various languages.
31+
samples/
32+
33+
# Temporary files
34+
tmp/
35+
.DS_Store
36+
# Eclipse
37+
.classpath
38+
.project
39+
.settings
40+
41+
# IntelliJ IDEA
42+
.idea/
43+
*.iml
44+
*.iws
45+
*.iwp
46+
.vscode/
47+
48+
# MacOS
49+
.DS_Store
50+
51+
# ReSharper
52+
*.resharper
53+
54+
# Visual Studio
55+
.vs/
56+
*.user
57+
*.suo
58+
*.sln.docstates
59+
60+
# Other
61+
*.bak
62+
*.swp
63+
*~
64+
.#*

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v5
17-
- name: Set up JDK 11
17+
- name: Set up JDK 21
1818
uses: actions/setup-java@v5
1919
with:
20-
java-version: 11
20+
java-version: 21
2121
distribution: 'temurin'
2222
cache: gradle
2323
- name: Cache maven dependencies

.github/workflows/linux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
6363

6464
- name: Upload Maven build artifact
65-
uses: actions/upload-artifact@v6
65+
uses: actions/upload-artifact@v7
6666
if: matrix.java == '11' && matrix.os == 'ubuntu-latest'
6767
with:
6868
name: artifact
@@ -98,7 +98,7 @@ jobs:
9898
maven-version: 3.8.8
9999
cache: gradle
100100
- name: Download build artifact
101-
uses: actions/download-artifact@v7
101+
uses: actions/download-artifact@v8
102102
with:
103103
name: artifact
104104
- name: Run Ensures Script

.github/workflows/openapi-generator.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
4343
- run: ls -la modules/openapi-generator-cli/target
4444
- name: Upload openapi-generator-cli.jar artifact
45-
uses: actions/upload-artifact@v6
45+
uses: actions/upload-artifact@v7
4646
with:
4747
name: openapi-generator-cli.jar
4848
path: modules/openapi-generator-cli/target/openapi-generator-cli.jar
@@ -81,7 +81,7 @@ jobs:
8181
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
8282
- name: Publish unit test reports
8383
if: ${{ always() }}
84-
uses: actions/upload-artifact@v6
84+
uses: actions/upload-artifact@v7
8585
with:
8686
name: surefire-test-results
8787
path: '**/surefire-reports/TEST-*.xml'
@@ -99,7 +99,7 @@ jobs:
9999
java-version: 11
100100
distribution: 'temurin'
101101
- name: Download openapi-generator-cli.jar artifact
102-
uses: actions/download-artifact@v7
102+
uses: actions/download-artifact@v8
103103
with:
104104
name: openapi-generator-cli.jar
105105
path: modules/openapi-generator-cli/target
@@ -138,7 +138,7 @@ jobs:
138138
java-version: 11
139139
distribution: 'temurin'
140140
- name: Download openapi-generator-cli.jar artifact
141-
uses: actions/download-artifact@v7
141+
uses: actions/download-artifact@v8
142142
with:
143143
name: openapi-generator-cli.jar
144144
path: modules/openapi-generator-cli/target

.github/workflows/samples-jdk17.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- samples/client/petstore/java/microprofile-rest-client-outer-enum/**
1515
# servers
1616
- samples/openapi3/server/petstore/springboot-3/**
17+
- samples/openapi3/server/petstore/springboot-3-include-http-request-context/**
1718
- samples/server/petstore/springboot-x-implements-skip/**
1819
- samples/server/petstore/java-camel/**
1920
- samples/server/petstore/java-helidon-server/v3/mp/**
@@ -32,6 +33,7 @@ on:
3233
- samples/client/petstore/java/microprofile-rest-client-outer-enum/**
3334
# servers
3435
- samples/openapi3/server/petstore/springboot-3/**
36+
- samples/openapi3/server/petstore/springboot-3-include-http-request-context/**
3537
- samples/server/petstore/springboot-x-implements-skip/**
3638
- samples/server/petstore/java-camel/**
3739
- samples/server/petstore/java-helidon-server/v3/mp/**
@@ -56,6 +58,7 @@ jobs:
5658
- samples/client/petstore/java/microprofile-rest-client-outer-enum
5759
# servers
5860
- samples/openapi3/server/petstore/springboot-3
61+
- samples/openapi3/server/petstore/springboot-3-include-http-request-context
5962
- samples/server/petstore/springboot-x-implements-skip
6063
- samples/server/petstore/java-camel/
6164
- samples/server/petstore/java-helidon-server/v3/mp/

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
- 'samples/client/petstore/kotlin*/**'
1212
- 'samples/client/others/kotlin-jvm-okhttp-parameter-tests/**'
1313
- samples/client/others/kotlin-integer-enum/**
14+
- samples/client/others/kotlin-oneOf-anyOf-kotlinx-serialization/**
1415

1516
jobs:
1617
build:
@@ -70,6 +71,7 @@ jobs:
7071
- samples/client/others/kotlin-integer-enum
7172
- samples/client/petstore/kotlin-allOf-discriminator-kotlinx-serialization
7273
- samples/client/others/kotlin-oneOf-discriminator-kotlinx-serialization
74+
- samples/client/others/kotlin-oneOf-anyOf-kotlinx-serialization
7375
steps:
7476
- uses: actions/checkout@v5
7577
- uses: actions/setup-java@v5

.github/workflows/samples-kotlin-server-jdk17.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'samples/server/petstore/kotlin-springboot-*/**'
1111
- 'samples/server/petstore/kotlin-server-required-and-nullable-properties/**'
1212
- 'samples/server/petstore/kotlin-spring-declarative*/**'
13+
- 'samples/server/petstore/kotlin-spring-sealed-interfaces/**'
1314
# comment out due to gradle build failure
1415
# - samples/server/petstore/kotlin-spring-default/**
1516
pull_request:
@@ -21,6 +22,7 @@ on:
2122
- 'samples/server/petstore/kotlin-springboot-*/**'
2223
- 'samples/server/petstore/kotlin-server-required-and-nullable-properties/**'
2324
- 'samples/server/petstore/kotlin-spring-declarative*/**'
25+
- 'samples/server/petstore/kotlin-spring-sealed-interfaces/**'
2426
# comment out due to gradle build failure
2527
# - samples/server/petstore/kotlin-spring-default/**
2628

@@ -57,6 +59,7 @@ jobs:
5759
- samples/server/petstore/kotlin-spring-declarative-interface-reactive-coroutines
5860
- samples/server/petstore/kotlin-spring-declarative-interface-reactive-reactor-wrapped
5961
- samples/server/petstore/kotlin-spring-declarative-interface-wrapped
62+
- samples/server/petstore/kotlin-spring-sealed-interfaces
6063
# comment out due to gradle build failure
6164
# - samples/server/petstore/kotlin-spring-default/
6265
steps:

.github/workflows/samples-ocaml.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ on:
77
- 'samples/client/petstore/ocaml-fake-petstore/**'
88
- 'samples/client/petstore/ocaml-oneOf-primitive/**'
99
- 'samples/client/petstore/ocaml-additional-properties/**'
10+
- 'samples/client/petstore/ocaml-enum-in-composed-schema/**'
11+
- 'samples/client/petstore/ocaml-recursion-test/**'
1012
pull_request:
1113
paths:
1214
- 'samples/client/petstore/ocaml/**'
1315
- 'samples/client/petstore/ocaml-fake-petstore/**'
1416
- 'samples/client/petstore/ocaml-oneOf-primitive/**'
1517
- 'samples/client/petstore/ocaml-additional-properties/**'
18+
- 'samples/client/petstore/ocaml-enum-in-composed-schema/**'
19+
- 'samples/client/petstore/ocaml-recursion-test/**'
1620

1721
jobs:
1822
build:
@@ -26,12 +30,14 @@ jobs:
2630
- 'samples/client/petstore/ocaml-fake-petstore/'
2731
- 'samples/client/petstore/ocaml-oneOf-primitive/'
2832
- 'samples/client/petstore/ocaml-additional-properties/'
33+
- 'samples/client/petstore/ocaml-enum-in-composed-schema/'
34+
- 'samples/client/petstore/ocaml-recursion-test/'
2935
steps:
3036
- uses: actions/checkout@v5
3137
- name: Set-up OCaml
3238
uses: ocaml/setup-ocaml@v3
3339
with:
34-
ocaml-compiler: 5
40+
ocaml-compiler: 5.3
3541
- name: Install
3642
run: opam install . --deps-only --with-test
3743
working-directory: ${{ matrix.sample }}

.github/workflows/samples-spring-jdk17.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@ name: Samples Java Spring (JDK17)
33
on:
44
push:
55
paths:
6-
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
7-
- samples/openapi3/client/petstore/spring-cloud-4-with-optional
8-
- samples/client/petstore/spring-http-interface-springboot-4
9-
- samples/openapi3/server/petstore/springboot-3
10-
- samples/openapi3/server/petstore/springboot-4
11-
- samples/server/petstore/springboot-api-response-examples
12-
- samples/server/petstore/springboot-lombok-data
13-
- samples/server/petstore/springboot-lombok-tostring
14-
- samples/server/petstore/springboot-file-delegate-optional
15-
- samples/server/petstore/springboot-petstore-with-api-response-examples
16-
- samples/server/petstore/spring-boot-oneof-sealed
17-
- samples/openapi3/server/petstore/spring-boot-oneof-interface
6+
- samples/openapi3/client/petstore/spring-cloud-3-with-optional/**
7+
- samples/openapi3/client/petstore/spring-cloud-4-with-optional/**
8+
- samples/client/petstore/spring-http-interface-springboot-4/**
9+
- samples/openapi3/server/petstore/springboot-3/**
10+
- samples/openapi3/server/petstore/springboot-4/**
11+
- samples/server/petstore/springboot-api-response-examples/**
12+
- samples/server/petstore/springboot-lombok-data/**
13+
- samples/server/petstore/springboot-lombok-tostring/**
14+
- samples/server/petstore/springboot-file-delegate-optional/**
15+
- samples/server/petstore/springboot-petstore-with-api-response-examples/**
16+
- samples/openapi3/server/petstore/spring-boot-oneof-sealed/**
17+
- samples/openapi3/server/petstore/spring-boot-oneof-interface/**
1818
pull_request:
1919
paths:
20-
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
21-
- samples/openapi3/client/petstore/spring-cloud-4-with-optional
22-
- samples/client/petstore/spring-http-interface-springboot-4
23-
- samples/openapi3/server/petstore/springboot-3
24-
- samples/openapi3/server/petstore/springboot-4
25-
- samples/server/petstore/springboot-api-response-examples
26-
- samples/server/petstore/springboot-lombok-data
27-
- samples/server/petstore/springboot-lombok-tostring
28-
- samples/server/petstore/springboot-file-delegate-optional
29-
- samples/server/petstore/springboot-petstore-with-api-response-examples
30-
- samples/server/petstore/spring-boot-oneof-sealed
31-
- samples/openapi3/server/petstore/spring-boot-oneof-interface
20+
- samples/openapi3/client/petstore/spring-cloud-3-with-optional/**
21+
- samples/openapi3/client/petstore/spring-cloud-4-with-optional/**
22+
- samples/client/petstore/spring-http-interface-springboot-4/**
23+
- samples/openapi3/server/petstore/springboot-3/**
24+
- samples/openapi3/server/petstore/springboot-4/**
25+
- samples/server/petstore/springboot-api-response-examples/**
26+
- samples/server/petstore/springboot-lombok-data/**
27+
- samples/server/petstore/springboot-lombok-tostring/**
28+
- samples/server/petstore/springboot-file-delegate-optional/**
29+
- samples/server/petstore/springboot-petstore-with-api-response-examples/**
30+
- samples/openapi3/server/petstore/spring-boot-oneof-sealed/**
31+
- samples/openapi3/server/petstore/spring-boot-oneof-interface/**
3232
jobs:
3333
build:
3434
name: Build Java Spring (JDK17)
@@ -49,7 +49,7 @@ jobs:
4949
- samples/server/petstore/springboot-lombok-tostring
5050
- samples/server/petstore/springboot-file-delegate-optional
5151
- samples/server/petstore/springboot-petstore-with-api-response-examples
52-
- samples/server/petstore/spring-boot-oneof-sealed
52+
- samples/openapi3/server/petstore/spring-boot-oneof-sealed
5353
- samples/openapi3/server/petstore/spring-boot-oneof-interface
5454
steps:
5555
- uses: actions/checkout@v5

.github/workflows/samples-spring.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- samples/server/petstore/spring-boot-nullable-set
4545
- samples/server/petstore/spring-boot-defaultInterface-unhandledExcp
4646
- samples/server/petstore/springboot
47+
- samples/server/petstore/springboot-include-http-request-context
4748
- samples/server/petstore/springboot-beanvalidation
4849
- samples/server/petstore/springboot-builtin-validation
4950
- samples/server/petstore/springboot-delegate

0 commit comments

Comments
 (0)