Skip to content

Commit c60721f

Browse files
committed
Merge remote-tracking branch 'refs/remotes/upstream/master' into feature/eirikb/dart-optional-patch
# Conflicts: # modules/openapi-generator/src/main/resources/dart2/serialization/native/native_class.mustache
2 parents 9b1b0ec + 4bf4637 commit c60721f

10,736 files changed

Lines changed: 136418 additions & 22185 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
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Samples cpp httplib server
2+
3+
on:
4+
push:
5+
paths:
6+
- "samples/server/petstore/cpp-httplib-server/**"
7+
- ".github/workflows/samples-cpp-httplib-server.yaml"
8+
pull_request:
9+
paths:
10+
- "samples/server/petstore/cpp-httplib-server/**"
11+
- ".github/workflows/samples-cpp-httplib-server.yaml"
12+
13+
env:
14+
GRADLE_VERSION: 6.9
15+
16+
jobs:
17+
build:
18+
name: Build cpp httplib server
19+
strategy:
20+
matrix:
21+
sample:
22+
- samples/server/petstore/cpp-httplib-server/petstore
23+
- samples/server/petstore/cpp-httplib-server/feature-test
24+
os:
25+
- ubuntu-latest
26+
- macOS-latest
27+
- windows-latest
28+
runs-on: ${{ matrix.os }}
29+
steps:
30+
- uses: actions/checkout@v4
31+
32+
- name: Install dependencies (Linux)
33+
if: matrix.os == 'ubuntu-latest'
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install -y build-essential libssl-dev zlib1g-dev cmake
37+
38+
- name: Install dependencies (macOS)
39+
if: matrix.os == 'macOS-latest'
40+
run: |
41+
brew install openssl zlib cmake
42+
43+
- name: Install dependencies (Windows)
44+
if: matrix.os == 'windows-latest'
45+
run: |
46+
vcpkg install openssl:x64-windows zlib:x64-windows
47+
shell: cmd
48+
timeout-minutes: 20
49+
50+
- name: Build
51+
working-directory: ${{ matrix.sample }}
52+
run: |
53+
if [ "${{ matrix.os }}" = "windows-latest" ]; then
54+
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
55+
else
56+
cmake -S . -B build
57+
fi
58+
cmake --build build --verbose
59+
shell: bash

.github/workflows/samples-groovy.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ jobs:
2020
matrix:
2121
sample:
2222
- samples/client/petstore/groovy
23+
services:
24+
petstore-api:
25+
image: swaggerapi/petstore
26+
ports:
27+
- 80:8080
28+
env:
29+
SWAGGER_HOST: http://petstore.swagger.io
30+
SWAGGER_BASE_PATH: /v2
2331
steps:
2432
- uses: actions/checkout@v5
2533
- uses: actions/setup-java@v5
@@ -41,6 +49,6 @@ jobs:
4149
gradle-version: ${{ env.GRADLE_VERSION }}
4250
build-root-directory: ${{ matrix.sample }}
4351
arguments: wrapper
44-
- name: Build
52+
- name: Build & Test
4553
working-directory: ${{ matrix.sample }}
46-
run: ./gradlew build -x test
54+
run: ./gradlew build

.github/workflows/samples-jdk17.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ 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/**
18+
- samples/server/petstore/springboot-x-implements-skip/**
1719
- samples/server/petstore/java-camel/**
1820
- samples/server/petstore/java-helidon-server/v3/mp/**
1921
- samples/server/petstore/java-helidon-server/v3/se/**
@@ -31,6 +33,8 @@ on:
3133
- samples/client/petstore/java/microprofile-rest-client-outer-enum/**
3234
# servers
3335
- samples/openapi3/server/petstore/springboot-3/**
36+
- samples/openapi3/server/petstore/springboot-3-include-http-request-context/**
37+
- samples/server/petstore/springboot-x-implements-skip/**
3438
- samples/server/petstore/java-camel/**
3539
- samples/server/petstore/java-helidon-server/v3/mp/**
3640
- samples/server/petstore/java-helidon-server/v3/se/**
@@ -54,6 +58,8 @@ jobs:
5458
- samples/client/petstore/java/microprofile-rest-client-outer-enum
5559
# servers
5660
- samples/openapi3/server/petstore/springboot-3
61+
- samples/openapi3/server/petstore/springboot-3-include-http-request-context
62+
- samples/server/petstore/springboot-x-implements-skip
5763
- samples/server/petstore/java-camel/
5864
- samples/server/petstore/java-helidon-server/v3/mp/
5965
- samples/server/petstore/java-helidon-server/v3/se

.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-echo-api.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- samples/client/echo_api/kotlin-jvm-spring-3-restclient
2121
- samples/client/echo_api/kotlin-model-prefix-type-mappings
2222
- samples/client/echo_api/kotlin-jvm-okhttp
23+
- samples/client/echo_api/kotlin-jvm-okhttp-multipart-json
2324
steps:
2425
- uses: actions/checkout@v5
2526
- uses: actions/setup-java@v5

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,26 @@ name: Samples Kotlin server (jdk17)
33
on:
44
push:
55
paths:
6+
- 'samples/server/others/kotlin-server/**'
67
- 'samples/server/petstore/kotlin-springboot-3*/**'
78
- 'samples/server/petstore/kotlin-server/**'
89
- 'samples/server/petstore/kotlin-server-modelMutable/**'
910
- 'samples/server/petstore/kotlin-springboot-*/**'
1011
- 'samples/server/petstore/kotlin-server-required-and-nullable-properties/**'
1112
- 'samples/server/petstore/kotlin-spring-declarative*/**'
13+
- 'samples/server/petstore/kotlin-spring-sealed-interfaces/**'
1214
# comment out due to gradle build failure
1315
# - samples/server/petstore/kotlin-spring-default/**
1416
pull_request:
1517
paths:
18+
- 'samples/server/others/kotlin-server/**'
1619
- 'samples/server/petstore/kotlin-springboot-3*/**'
1720
- 'samples/server/petstore/kotlin-server/**'
1821
- 'samples/server/petstore/kotlin-server-modelMutable/**'
1922
- 'samples/server/petstore/kotlin-springboot-*/**'
2023
- 'samples/server/petstore/kotlin-server-required-and-nullable-properties/**'
2124
- 'samples/server/petstore/kotlin-spring-declarative*/**'
25+
- 'samples/server/petstore/kotlin-spring-sealed-interfaces/**'
2226
# comment out due to gradle build failure
2327
# - samples/server/petstore/kotlin-spring-default/**
2428

@@ -34,6 +38,10 @@ jobs:
3438
matrix:
3539
sample:
3640
# server
41+
- samples/server/others/kotlin-server/polymorphism-allof-and-discriminator
42+
- samples/server/others/kotlin-server/polymorphism-and-discriminator-disabled-jackson-fix
43+
- samples/server/others/kotlin-server/polymorphism-and-discriminator
44+
- samples/server/others/kotlin-server/polymorphism
3745
- samples/server/petstore/kotlin-server-required-and-nullable-properties
3846
- samples/server/petstore/kotlin-springboot-3
3947
- samples/server/petstore/kotlin-springboot-3-no-response-entity
@@ -51,6 +59,7 @@ jobs:
5159
- samples/server/petstore/kotlin-spring-declarative-interface-reactive-coroutines
5260
- samples/server/petstore/kotlin-spring-declarative-interface-reactive-reactor-wrapped
5361
- samples/server/petstore/kotlin-spring-declarative-interface-wrapped
62+
- samples/server/petstore/kotlin-spring-sealed-interfaces
5463
# comment out due to gradle build failure
5564
# - samples/server/petstore/kotlin-spring-default/
5665
steps:

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ name: Samples Kotlin server (jdk21)
33
on:
44
push:
55
paths:
6+
- 'samples/server/others/kotlin-server/**'
67
- 'samples/server/petstore/kotlin-server/**'
78
- 'samples/server/petstore/kotlin-server-required-and-nullable-properties/**'
89
pull_request:
910
paths:
11+
- 'samples/server/others/kotlin-server/**'
1012
- 'samples/server/petstore/kotlin-server/**'
1113
- 'samples/server/petstore/kotlin-server-required-and-nullable-properties/**'
1214

@@ -21,6 +23,10 @@ jobs:
2123
fail-fast: false
2224
matrix:
2325
sample:
26+
- samples/server/others/kotlin-server/polymorphism-allof-and-discriminator
27+
- samples/server/others/kotlin-server/polymorphism-and-discriminator-disabled-jackson-fix
28+
- samples/server/others/kotlin-server/polymorphism-and-discriminator
29+
- samples/server/others/kotlin-server/polymorphism
2430
- samples/server/petstore/kotlin-server/javalin-6
2531
- samples/server/petstore/kotlin-server/ktor
2632
- samples/server/petstore/kotlin-server/ktor2

.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 }}

0 commit comments

Comments
 (0)