Skip to content

Commit c0d9d87

Browse files
committed
merge master
2 parents 21c9ffd + 592c262 commit c0d9d87

File tree

11,839 files changed

+311642
-35517
lines changed

Some content is hidden

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

11,839 files changed

+311642
-35517
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
Please follow the issue template below for bug reports and feature requests.
3-
Also please indicate in the issue title which language/library is concerned. Eg: [JAVA] Bug generating foo with bar
3+
Also please indicate in the issue title which language/library is concerned. E.g.: [JAVA] Bug generating foo with bar
44
-->
55

66
##### Description

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ assignees: ''
1818

1919
<!--
2020
Please follow the issue template below for bug reports.
21-
Also please indicate in the issue title which language/library is concerned. Eg: [BUG][JAVA] Bug generating foo with bar
21+
Also please indicate in the issue title which language/library is concerned. E.g.: [BUG][JAVA] Bug generating foo with bar
2222
-->
2323

2424
##### Description

.github/workflows/linux.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ jobs:
4444
restore-keys: |
4545
${{ runner.os }}-gradle-
4646
47-
- uses: gradle/actions/setup-gradle@v4
47+
- uses: gradle/actions/setup-gradle@v5
4848
with:
4949
gradle-version: '8.14.3'
5050

5151
- name: Setup Maven
52-
uses: s4u/setup-maven-action@v1.18.0
52+
uses: s4u/setup-maven-action@v1.19.0
5353
with:
5454
java-version: ${{ matrix.java }}
5555
maven-version: 3.8.8
@@ -91,7 +91,7 @@ jobs:
9191
- name: Check out code
9292
uses: actions/checkout@v5
9393
- name: Setup Maven
94-
uses: s4u/setup-maven-action@v1.18.0
94+
uses: s4u/setup-maven-action@v1.19.0
9595
with:
9696
java-version: 11
9797
maven-version: 3.8.8

.github/workflows/samples-aspnet-fastenpoints-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- samples/server/petstore/aspnet/fastendpoints-useValidators
2727
steps:
2828
- uses: actions/checkout@v5
29-
- uses: actions/setup-dotnet@v4.3.1
29+
- uses: actions/setup-dotnet@v5.0.0
3030
with:
3131
dotnet-version: '8.0.x'
3232
- name: Build
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Samples Clojure Client
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/client/petstore/clojure/**
7+
pull_request:
8+
paths:
9+
- samples/client/petstore/clojure/**
10+
jobs:
11+
build:
12+
name: Build Clojure Client (JDK11)
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
sample:
18+
- samples/client/petstore/clojure/
19+
services:
20+
petstore-api:
21+
image: swaggerapi/petstore
22+
ports:
23+
- 80:8080
24+
env:
25+
SWAGGER_HOST: http://petstore.swagger.io
26+
SWAGGER_BASE_PATH: /v2
27+
steps:
28+
- uses: actions/checkout@v5
29+
- name: Add hosts to /etc/hosts
30+
run: |
31+
sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
32+
- uses: actions/setup-java@v5
33+
with:
34+
distribution: 'temurin'
35+
java-version: 11
36+
- name: Cache maven dependencies
37+
uses: actions/cache@v4
38+
env:
39+
cache-name: maven-repository
40+
with:
41+
path: |
42+
~/.m2
43+
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
44+
- name: Install Leiningen (if using Leiningen)
45+
run: |
46+
curl https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > lein
47+
chmod +x lein
48+
sudo mv lein /usr/local/bin/
49+
- name: Run tests (Leiningen)
50+
working-directory: ${{ matrix.sample }}
51+
run: lein test
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Samples Dart (build, test)
2+
3+
on:
4+
push:
5+
branches:
6+
paths:
7+
#- samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/**
8+
#- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake_tests/**
9+
#- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/**
10+
- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/**
11+
- samples/openapi3/client/petstore/dart-dio/oneof/**
12+
- samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/**
13+
- samples/openapi3/client/petstore/dart-dio/binary_response/**
14+
- samples/openapi3/client/petstore/dart-dio/petstore-timemachine/**
15+
pull_request:
16+
paths:
17+
#- samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/**
18+
#- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake_tests/**
19+
#- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/**
20+
- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/**
21+
- samples/openapi3/client/petstore/dart-dio/oneof/**
22+
- samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/**
23+
- samples/openapi3/client/petstore/dart-dio/binary_response/**
24+
- samples/openapi3/client/petstore/dart-dio/petstore-timemachine/**
25+
26+
jobs:
27+
test:
28+
runs-on: ${{ matrix.os }}
29+
strategy:
30+
matrix:
31+
os: [ubuntu-latest, windows-latest]
32+
sdk: ["3.9.0"]
33+
sample:
34+
#- samples/openapi3/client/petstore/dart2/petstore_client_lib_fake/
35+
#- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake_tests/
36+
#- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake-json_serializable/
37+
- samples/openapi3/client/petstore/dart-dio/petstore_client_lib_fake/
38+
- samples/openapi3/client/petstore/dart-dio/oneof/
39+
- samples/openapi3/client/petstore/dart-dio/oneof_polymorphism_and_inheritance/
40+
- samples/openapi3/client/petstore/dart-dio/binary_response/
41+
- samples/openapi3/client/petstore/dart-dio/petstore-timemachine/
42+
steps:
43+
- uses: actions/checkout@v5
44+
45+
- uses: dart-lang/setup-dart@v1
46+
with:
47+
sdk: ${{ matrix.sdk }}
48+
49+
- name: pub get
50+
working-directory: ${{ matrix.sample }}
51+
run: dart pub get
52+
53+
- name: build_runner build
54+
working-directory: ${{ matrix.sample }}
55+
run: dart run build_runner build
56+
57+
- name: test
58+
working-directory: ${{ matrix.sample }}
59+
run: dart test
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Samples C# .Net Client (Petstore)
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
7+
pull_request:
8+
paths:
9+
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/**
10+
jobs:
11+
build:
12+
name: Build clients
13+
runs-on: ubuntu-latest
14+
services:
15+
petstore-api:
16+
image: swaggerapi/petstore
17+
ports:
18+
- 80:8080
19+
env:
20+
SWAGGER_HOST: http://petstore.swagger.io
21+
SWAGGER_BASE_PATH: /v2
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
sample:
26+
- samples/client/petstore/csharp/restsharp/standard2.0/Petstore/
27+
steps:
28+
- uses: actions/checkout@v5
29+
- uses: actions/[email protected]
30+
with:
31+
dotnet-version: '7.0.x'
32+
- name: Build
33+
working-directory: ${{ matrix.sample }}
34+
run: dotnet build Org.OpenAPITools.sln
35+
- name: Test
36+
working-directory: ${{ matrix.sample }}
37+
run: dotnet test Org.OpenAPITools.sln

.github/workflows/samples-dotnet-standard.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# - samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/
2929
steps:
3030
- uses: actions/checkout@v5
31-
- uses: actions/setup-dotnet@v4.3.1
31+
- uses: actions/setup-dotnet@v5.0.0
3232
with:
3333
dotnet-version: 3.1.*
3434
- name: Build

.github/workflows/samples-dotnet6-server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- samples/server/petstore/aspnetcore-6.0-useSwashBuckle
2626
steps:
2727
- uses: actions/checkout@v5
28-
- uses: actions/setup-dotnet@v4.3.1
28+
- uses: actions/setup-dotnet@v5.0.0
2929
with:
3030
dotnet-version: '6.0.x'
3131
- name: Build
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Samples C# .Net 7 Client
2+
3+
on:
4+
push:
5+
paths:
6+
# the .NET Core 3.0 runtime is no longer supported as it reached its end-of-life on March 3, 2020
7+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
8+
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
9+
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
10+
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
11+
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/**
12+
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/**
13+
- samples/client/petstore/csharp/restsharp/net8/Petstore/**
14+
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/**
15+
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/**
16+
pull_request:
17+
paths:
18+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/**
19+
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/**
20+
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/**
21+
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/**
22+
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/**
23+
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/**
24+
- samples/client/petstore/csharp/restsharp/net8/Petstore/**
25+
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/**
26+
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/**
27+
jobs:
28+
build:
29+
name: Build clients
30+
runs-on: windows-latest
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
sample:
35+
#- samples/client/petstore/csharp/httpclient/standard2.0/Petstore/
36+
- samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks/
37+
- samples/client/petstore/csharp/restsharp/net4.7/Petstore/
38+
- samples/client/petstore/csharp/restsharp/net4.8/Petstore/
39+
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/
40+
- samples/client/petstore/csharp/restsharp/net8/EnumMappings/
41+
- samples/client/petstore/csharp/restsharp/net8/Petstore/
42+
- samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate/
43+
- samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization/
44+
steps:
45+
- uses: actions/checkout@v5
46+
- uses: actions/[email protected]
47+
with:
48+
dotnet-version: '7.0.x'
49+
- name: Build
50+
working-directory: ${{ matrix.sample }}
51+
run: dotnet build Org.OpenAPITools.sln
52+
- name: Test
53+
working-directory: ${{ matrix.sample }}
54+
run: dotnet test Org.OpenAPITools.sln

0 commit comments

Comments
 (0)