Skip to content

Commit 32792d4

Browse files
Merge pull request #8 from SpectraLogic/upstream-sync
sync with upstream
2 parents 444e989 + 592cec6 commit 32792d4

File tree

22,314 files changed

+1076770
-388551
lines changed

Some content is hidden

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

22,314 files changed

+1076770
-388551
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/CODEOWNERS

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,11 @@ modules/openapi-generator-core/**/* @OpenAPITools/generator-core-team
1212
# No need for auto-generated subdirectories (reduces noise)
1313
docs/ @OpenAPITools/generator-core-team
1414

15-
## Individual interests
16-
.github/**/* @jimschubert
17-
scripts/**/* @jimschubert
18-
website/**/* @jimschubert
19-
bin/ci/**/* @jimschubert
20-
2115
## Build related
2216
CI/**/* @OpenAPITools/build
2317
.mvn/**/* @OpenAPITools/build
2418
bin/utils/**/* @OpenAPITools/build
2519

26-
## Module-specific
27-
modules/openapi-generator-cli/**/* @jimschubert
28-
modules/openapi-generator-gradle-plugin/**/* @jimschubert
29-
modules/openapi-generator-maven-plugin/**/* @jimschubert
30-
3120
# cpp-qt-client technical committee
3221
modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @ravinikam
3322
samples/client/petstore/cpp-qt/**/* @ravinikam

.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.14.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.14.0
9191
with:
9292
java-version: 11
9393
maven-version: 3.8.8

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
run: |
4040
./mvnw clean install -DskipTests -Dmaven.javadoc.skip=true
4141
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
42+
./mvnw --no-snapshot-updates --quiet clean install -f modules/openapi-generator-maven-plugin/examples/multi-module/sample-external-ref-schema/pom.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
4243
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
4344
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
4445
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error

.github/workflows/openapi-generator.yaml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,40 @@ jobs:
140140
with:
141141
name: openapi-generator-cli.jar
142142
path: modules/openapi-generator-cli/target
143+
- name: Delete samples that are entirely generated
144+
run: |
145+
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
146+
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOf
147+
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
148+
rm -rf samples/client/petstore/csharp/generichost/net8/FormModels
149+
rm -rf samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
150+
rm -rf samples/client/petstore/csharp/generichost/net8/OneOf
151+
rm -rf samples/client/petstore/csharp/generichost/net8/Petstore
152+
rm -rf samples/client/petstore/csharp/generichost/net8/SourceGeneration
153+
rm -rf samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
154+
155+
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
143172
- name: Generate samples
144-
run: bash bin/generate-samples.sh
173+
run: |
174+
bash bin/generate-samples.sh
175+
# when a sample is deleted, you have to generate it twice for all files to get created
176+
bash bin/generate-samples.sh
145177
- name: Verify git status
146178
run: |
147179
if [[ "$(git status --porcelain)" != "" ]]; then

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Samples cpp qt client
33
on:
44
push:
55
branches:
6-
- 'samples/client/petstore/cpp-qt/**'
6+
- "samples/client/petstore/cpp-qt/**"
77
pull_request:
88
paths:
9-
- 'samples/client/petstore/cpp-qt/**'
9+
- "samples/client/petstore/cpp-qt/**"
1010

1111
env:
1212
GRADLE_VERSION: 6.9
@@ -16,9 +16,6 @@ jobs:
1616
name: Build cpp qt client
1717
strategy:
1818
matrix:
19-
qt-version:
20-
- '5.15.2'
21-
- '6.5.3'
2219
os:
2320
- ubuntu-latest
2421
- macOS-latest
@@ -27,10 +24,10 @@ jobs:
2724
steps:
2825
- uses: actions/checkout@v4
2926
- name: Install Qt
30-
uses: jurplel/install-qt-action@v3
27+
uses: jurplel/install-qt-action@v4
3128
with:
32-
version: ${{ matrix.qt-version }}
33-
tools: ${{ matrix.tools }}
29+
version: "6.7.1"
30+
target: "desktop"
3431
- name: Build
3532
working-directory: "samples/client/petstore/cpp-qt"
3633
run: cmake . && cmake --build .
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

0 commit comments

Comments
 (0)