Skip to content

Commit 281d61f

Browse files
author
andrewwilsonnew
committed
Merge remote-tracking branch 'origin/master' into cashapp/misk5
# Conflicts: # modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/KotlinMiskServerCodegen.java # modules/openapi-generator/src/main/resources/kotlin-misk/apiAction.mustache # modules/openapi-generator/src/main/resources/kotlin-misk/build.gradle.kts.mustache # samples/server/petstore/kotlin-misk/.openapi-generator/FILES # samples/server/petstore/kotlin-misk/build.gradle.kts # samples/server/petstore/kotlin-misk/src/main/kotlin/org/openapitools/server/api/api/PetApiAction.kt # samples/server/petstore/kotlin-misk/src/main/kotlin/org/openapitools/server/api/api/StoreApiAction.kt # samples/server/petstore/kotlin-misk/src/main/kotlin/org/openapitools/server/api/api/UserApiAction.kt
2 parents fe76a63 + 65c3126 commit 281d61f

10,621 files changed

Lines changed: 152006 additions & 50858 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.

.github/workflows/openapi-generator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ jobs:
142142
path: modules/openapi-generator-cli/target
143143
- name: Delete samples that are entirely generated
144144
run: |
145+
rm -rf samples/client/petstore/csharp/generichost/latest/HelloWorld
145146
rm -rf samples/client/petstore/csharp/generichost/latest/Tags
146147
147148
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf

.github/workflows/samples-dotnet9.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
matrix:
2525
sample:
2626
- samples/client/petstore/csharp/generichost/latest/Tags
27+
- samples/client/petstore/csharp/generichost/latest/HelloWorld
2728
- samples/client/petstore/csharp/generichost/net9/AllOf
2829
- samples/client/petstore/csharp/generichost/net9/AnyOf
2930
- samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
- samples/client/petstore/java/webclient-swagger2
6262
- samples/client/petstore/java/webclient-useSingleRequestParameter
6363
- samples/client/petstore/java/vertx
64+
- samples/client/petstore/java/vertx-no-nullable
65+
- samples/client/petstore/java/vertx-supportVertxFuture
6466
- samples/client/petstore/java/jersey2-java8-localdatetime
6567
- samples/client/petstore/java/google-api-client
6668
- samples/client/petstore/java/rest-assured
@@ -74,6 +76,7 @@ jobs:
7476
- samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter
7577
- samples/client/petstore/java/apache-httpclient
7678
- samples/client/petstore/java/feign
79+
- samples/client/petstore/java/feign-hc5
7780
- samples/client/petstore/java/feign-no-nullable
7881
- samples/client/petstore/java/okhttp-gson-awsv4signature
7982
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- samples/client/petstore/java/restclient-nullable-arrays
2929
- samples/client/petstore/java/restclient-swagger2
3030
- samples/client/petstore/java/restclient-useSingleRequestParameter
31+
- samples/client/petstore/java/restclient-useSingleRequestParameter-static
3132
- samples/client/petstore/java/webclient-useSingleRequestParameter
3233
steps:
3334
- uses: actions/checkout@v4

.github/workflows/samples-julia.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# Using develop mode to install package so that it is easier to modify the package test files
3131
julia -e "using Pkg; Pkg.develop(\"OpenAPI\");"
3232
cd ~/.julia/dev/OpenAPI
33-
git checkout v0.1.25
33+
git checkout v0.2.0
3434
cd $currdir
3535
rm -rf ~/.julia/dev/OpenAPI/test/client/openapigenerator_petstore_v3/petstore
3636
rm -rf ~/.julia/dev/OpenAPI/test/server/openapigenerator_petstore_v3/petstore
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Samples Scala/sbt (JDK8)
2+
3+
on:
4+
push:
5+
paths:
6+
- 'samples/server/petstore/scala-finch/**'
7+
pull_request:
8+
paths:
9+
- 'samples/server/petstore/scala-finch/**'
10+
jobs:
11+
build:
12+
name: Build scala-finch servers
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
sample:
18+
# servers
19+
- samples/server/petstore/scala-finch # cannot be tested with jdk11
20+
steps:
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-java@v4
23+
with:
24+
distribution: 'temurin'
25+
java-version: 8
26+
- name: Setup sbt launcher
27+
uses: sbt/setup-sbt@v1
28+
- name: Cache maven dependencies
29+
uses: actions/cache@v4
30+
env:
31+
cache-name: maven-repository
32+
with:
33+
path: |
34+
~/.ivy2
35+
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/build.sbt') }}
36+
- name: Build and test
37+
working-directory: ${{ matrix.sample }}
38+
run: sbt -v +test

.github/workflows/samples-scala.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ jobs:
2020
matrix:
2121
sample:
2222
# clients
23-
- 'samples/client/petstore/java/okhttp-gson'
23+
- samples/client/petstore/java/okhttp-gson
2424
- samples/client/petstore/scalaz
2525
- samples/client/petstore/scala-pekko
2626
- samples/client/petstore/scala-http4s
27-
#- samples/client/petstore/scala-sttp # won't pass while the same tests in circleci pass
27+
#- samples/client/petstore/scala-sttp
28+
#- samples/client/petstore/scala-sttp-circe
2829
# servers
2930
- samples/server/petstore/scala-lagom-server
3031
- samples/server/petstore/scala-play-server
3132
- samples/server/petstore/scala-akka-http-server
3233
- samples/server/petstore/scala-pekko-http-server
3334
- samples/server/petstore/scalatra
34-
- samples/server/petstore/scala-finch # cannot be tested with jdk11
3535
- samples/server/petstore/scala-http4s-server
3636
- samples/server/petstore/scala-cask
3737
steps:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-java@v4
4040
with:
4141
distribution: 'temurin'
42-
java-version: 8
42+
java-version: 11
4343
- name: Setup sbt launcher
4444
uses: sbt/setup-sbt@v1
4545
- name: Cache maven dependencies

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ on:
55
paths:
66
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
77
- samples/openapi3/server/petstore/springboot-3
8+
- samples/server/petstore/springboot-api-response-examples
89
- samples/server/petstore/springboot-lombok-data
910
- samples/server/petstore/springboot-lombok-tostring
1011
- samples/server/petstore/springboot-file-delegate-optional
12+
- samples/server/petstore/springboot-petstore-with-api-response-examples
1113
pull_request:
1214
paths:
1315
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
1416
- samples/openapi3/server/petstore/springboot-3
17+
- samples/server/petstore/springboot-api-response-examples
1518
- samples/server/petstore/springboot-lombok-data
1619
- samples/server/petstore/springboot-lombok-tostring
1720
- samples/server/petstore/springboot-file-delegate-optional
21+
- samples/server/petstore/springboot-petstore-with-api-response-examples
1822
jobs:
1923
build:
2024
name: Build Java Spring (JDK17)
@@ -27,9 +31,11 @@ jobs:
2731
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
2832
# servers
2933
- samples/openapi3/server/petstore/springboot-3
34+
- samples/server/petstore/springboot-api-response-examples
3035
- samples/server/petstore/springboot-lombok-data
3136
- samples/server/petstore/springboot-lombok-tostring
3237
- samples/server/petstore/springboot-file-delegate-optional
38+
- samples/server/petstore/springboot-petstore-with-api-response-examples
3339
steps:
3440
- uses: actions/checkout@v4
3541
- uses: actions/setup-java@v4

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ services:
3737

3838
# comment out the host table change to use the public petstore server
3939
addons:
40-
apt:
41-
sources:
42-
- ubuntu-toolchain-r-test
43-
packages:
44-
- g++-5
45-
chrome: stable
40+
#apt:
41+
# sources:
42+
# - ubuntu-toolchain-r-test
43+
# packages:
44+
# - g++-5
45+
#chrome: stable
4646
hosts:
4747
- petstore.swagger.io
4848

CI/circle_parallel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ else
122122

123123
(cd samples/client/petstore/scala-akka && mvn integration-test)
124124
(cd samples/client/petstore/scala-sttp && mvn integration-test)
125+
(cd samples/client/petstore/scala-sttp-circe && mvn integration-test)
125126
(cd samples/client/petstore/scala-sttp4 && mvn integration-test)
126127
(cd samples/client/petstore/clojure && mvn integration-test)
127128
(cd samples/client/petstore/java/jersey2-java8 && mvn integration-test)

0 commit comments

Comments
 (0)