Skip to content

Commit efec964

Browse files
authored
Merge branch 'OpenAPITools:master' into master
2 parents dbd8786 + 01fec76 commit efec964

File tree

15,584 files changed

+593381
-89176
lines changed

Some content is hidden

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

15,584 files changed

+593381
-89176
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ commands: # a reusable command with parameters
141141
jobs:
142142
node0:
143143
machine:
144-
image: ubuntu-2004:202201-02
144+
image: ubuntu-2004:2024.01.1
145145
working_directory: ~/OpenAPITools/openapi-generator
146146
shell: /bin/bash --login
147147
environment:
@@ -154,7 +154,7 @@ jobs:
154154
nodeNo: "0"
155155
node1:
156156
machine:
157-
image: ubuntu-2004:202201-02
157+
image: ubuntu-2004:2024.01.1
158158
working_directory: ~/OpenAPITools/openapi-generator
159159
shell: /bin/bash --login
160160
environment:
@@ -167,7 +167,7 @@ jobs:
167167
nodeNo: "1"
168168
node2:
169169
machine:
170-
image: ubuntu-2004:202201-02
170+
image: ubuntu-2004:2024.01.1
171171
working_directory: ~/OpenAPITools/openapi-generator
172172
shell: /bin/bash --login
173173
environment:
@@ -180,7 +180,7 @@ jobs:
180180
nodeNo: "2"
181181
node3:
182182
machine:
183-
image: ubuntu-2004:202201-02
183+
image: ubuntu-2004:2024.01.1
184184
working_directory: ~/OpenAPITools/openapi-generator
185185
shell: /bin/bash --login
186186
environment:

.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"java.configuration.runtimes": [
2727
{
2828
"name": "JavaSE-11",
29-
"path": "/usr/local/sdkman/candidates/java/11.0.16.1-ms",
30-
"sources": "/usr/local/sdkman/candidates/java/11.0.16.1-ms/lib/src.zip",
29+
"path": "/usr/local/sdkman/candidates/java/current",
30+
"sources": "/usr/local/sdkman/candidates/java/current/lib/src.zip",
3131
"javadoc": "https://docs.oracle.com/en/java/javase/11/docs/api",
3232
"default": true
3333
}
@@ -50,4 +50,4 @@
5050
// "postCreateCommand": "mvn clean package -DskipTests",
5151
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
5252
"remoteUser": "vscode"
53-
}
53+
}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
These must match the expectations made by your contribution.
1818
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example `./bin/generate-samples.sh bin/configs/java*`.
1919
IMPORTANT: Do **NOT** purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
20-
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming 7.1.0 minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
20+
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming 7.6.0 minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
2121
- [ ] If your PR is targeting a particular programming language, @mention the [technical committee](https://github.com/openapitools/openapi-generator/#62---openapi-generator-technical-committee) members, so they are more likely to review the pull request.

.github/workflows/gradle-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- 'samples/client/petstore/java/**'
1111
- 'samples/openapi3/client/petstore/java/**'
1212
env:
13-
GRADLE_VERSION: 7.2
13+
GRADLE_VERSION: 8.7
1414

1515
jobs:
1616
build:

.github/workflows/linux.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
${{ runner.os }}-gradle-
4646
4747
- name: Setup Maven
48-
uses: s4u/setup-maven-action@v1.12.0
48+
uses: s4u/setup-maven-action@v1.13.0
4949
with:
5050
java-version: ${{ matrix.java }}
5151
maven-version: 3.8.8
@@ -87,7 +87,7 @@ jobs:
8787
- name: Check out code
8888
uses: actions/checkout@v4
8989
- name: Setup Maven
90-
uses: s4u/setup-maven-action@v1.12.0
90+
uses: s4u/setup-maven-action@v1.13.0
9191
with:
9292
java-version: 11
9393
maven-version: 3.8.8

.github/workflows/openapi-generator.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,24 @@ jobs:
151151
rm -rf samples/client/petstore/csharp/generichost/net8/Petstore
152152
rm -rf samples/client/petstore/csharp/generichost/net8/SourceGeneration
153153
rm -rf samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
154+
154155
rm -rf samples/client/petstore/csharp/generichost/standard2.0/Petstore
156+
157+
rm -rf samples/client/petstore/csharp/generichost/net4.8/AllOf
158+
rm -rf samples/client/petstore/csharp/generichost/net4.8/AnyOf
159+
rm -rf samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
160+
rm -rf samples/client/petstore/csharp/generichost/net4.8/FormModels
161+
rm -rf samples/client/petstore/csharp/generichost/net4.8/OneOf
162+
rm -rf samples/client/petstore/csharp/generichost/net4.8/Petstore
163+
rm -rf samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
164+
165+
rm -rf samples/client/petstore/csharp/generichost/net4.7/AllOf
166+
rm -rf samples/client/petstore/csharp/generichost/net4.7/AnyOf
167+
rm -rf samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
168+
rm -rf samples/client/petstore/csharp/generichost/net4.7/FormModels
169+
rm -rf samples/client/petstore/csharp/generichost/net4.7/OneOf
170+
rm -rf samples/client/petstore/csharp/generichost/net4.7/Petstore
171+
rm -rf samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
155172
- name: Generate samples
156173
run: |
157174
bash bin/generate-samples.sh

.github/workflows/samples-cpp-qt-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v4
2929
- name: Install Qt
30-
uses: jurplel/install-qt-action@v3
30+
uses: jurplel/install-qt-action@v4
3131
with:
3232
version: ${{ matrix.qt-version }}
3333
tools: ${{ matrix.tools }}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Samples C# .Net Framework Clients
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/client/petstore/csharp/generichost/net4.7/**
7+
- samples/client/petstore/csharp/generichost/net4.8/**
8+
pull_request:
9+
paths:
10+
- samples/client/petstore/csharp/generichost/net4.7/**
11+
- samples/client/petstore/csharp/generichost/net4.8/**
12+
jobs:
13+
build:
14+
name: Build .Net projects
15+
runs-on: windows-2019
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
sample:
20+
- samples/client/petstore/csharp/generichost/net4.7/AllOf
21+
- samples/client/petstore/csharp/generichost/net4.7/AnyOf
22+
- samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
23+
- samples/client/petstore/csharp/generichost/net4.7/FormModels
24+
- samples/client/petstore/csharp/generichost/net4.7/OneOf
25+
- samples/client/petstore/csharp/generichost/net4.7/Petstore
26+
- samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
27+
28+
- samples/client/petstore/csharp/generichost/net4.8/AllOf
29+
- samples/client/petstore/csharp/generichost/net4.8/AnyOf
30+
- samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
31+
- samples/client/petstore/csharp/generichost/net4.8/FormModels
32+
- samples/client/petstore/csharp/generichost/net4.8/OneOf
33+
- samples/client/petstore/csharp/generichost/net4.8/Petstore
34+
- samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
35+
steps:
36+
- uses: actions/checkout@v4
37+
- name: Build
38+
working-directory: ${{ matrix.sample }}
39+
run: dotnet build Org.OpenAPITools.sln
40+
- name: Test
41+
working-directory: ${{ matrix.sample }}
42+
run: dotnet test Org.OpenAPITools.sln

.github/workflows/samples-elm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- samples/openapi3/client/elm
2323
steps:
2424
- uses: actions/checkout@v4
25-
- uses: jorelali/setup-elm@v5
25+
- uses: jorelali/setup-elm@v6
2626
with:
2727
elm-version: 0.19.1
2828
- name: Build

.github/workflows/samples-go.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
name: Samples Go
1+
name: Samples Go
22

33
on:
44
push:
55
paths:
66
- 'samples/server/petstore/go-echo-server/**'
77
- 'samples/server/petstore/go-api-server/**'
88
- 'samples/server/petstore/go-chi-server/**'
9+
- 'samples/server/others/go-server/no-body-path-params/**'
910
pull_request:
1011
paths:
1112
- 'samples/server/petstore/go-echo-server/**'
1213
- 'samples/server/petstore/go-api-server/**'
1314
- 'samples/server/petstore/go-chi-server/**'
15+
- 'samples/server/others/go-server/no-body-path-params/**'
1416

1517
jobs:
1618
build:
17-
name: Build Go
19+
name: Build Go
1820
runs-on: ubuntu-latest
1921
strategy:
2022
fail-fast: false
@@ -23,6 +25,7 @@ jobs:
2325
- samples/server/petstore/go-echo-server/
2426
- samples/server/petstore/go-api-server/
2527
- samples/server/petstore/go-chi-server/
28+
- samples/server/others/go-server/no-body-path-params/
2629
steps:
2730
- uses: actions/checkout@v4
2831
- uses: actions/setup-go@v5

0 commit comments

Comments
 (0)