Skip to content

Commit a0e05b8

Browse files
authored
Merge pull request #78 from CiscoM31/feature/refresh_13_Jul_2022
Pull latest upstream code
2 parents dfb40dc + 9e2b8a0 commit a0e05b8

File tree

7,157 files changed

+348212
-132527
lines changed

Some content is hidden

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

7,157 files changed

+348212
-132527
lines changed

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ commands: # a reusable command with parameters
1515
- source-v2-
1616
# Machine Setup
1717
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each
18+
- run:
19+
name: Install Headless Chrome dependencies
20+
command: |
21+
sudo apt-get update && sudo apt-get install -yq \
22+
gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
23+
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
24+
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \
25+
libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates \
26+
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget libgbm1
1827
# The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.
1928
- checkout
2029
# Prepare for artifact and test results collection equivalent to how it was done on 1.0.
@@ -50,6 +59,8 @@ commands: # a reusable command with parameters
5059
# This is a broad list of cache paths to include many possible development environments
5160
# You can probably delete some of these entries
5261
- vendor/bundle
62+
- ~/.nvm
63+
- ~/.pyenv
5364
- ~/virtualenvs
5465
- ~/.m2
5566
- ~/.ivy2
@@ -69,6 +80,8 @@ commands: # a reusable command with parameters
6980
# This is a broad list of cache paths to include many possible development environments
7081
# You can probably delete some of these entries
7182
- vendor/bundle
83+
- ~/.nvm
84+
- ~/.pyenv
7285
- ~/virtualenvs
7386
- ~/.m2
7487
- ~/.ivy2

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ modules/openapi-generator-cli/**/* @jimschubert
2828
modules/openapi-generator-gradle-plugin/**/* @jimschubert
2929
modules/openapi-generator-maven-plugin/**/* @jimschubert
3030

31+
# Martin Delille
32+
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppQtClientCodegen.java @martindelille
33+
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppQtAbstractCodegen.java @martindelille
34+
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/resources/cpp-qt-client @martindelille
35+
/Users/martin/dev/clone/openapi-generator/samples/client/petstore/cpp-qt @martindelille

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@
1616
These must match the expectations made by your contribution.
1717
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*`.
1818
For Windows users, please run the script in [Git BASH](https://gitforwindows.org/).
19+
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (6.1.0) (minor release - breaking changes with fallbacks), `7.0.x` (breaking changes without fallbacks)
1920
- [ ] 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/check-supported-versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v3
2525

2626
- name: Set up JDK ${{ matrix.java }}
27-
uses: actions/setup-java@v2
27+
uses: actions/setup-java@v3
2828
with:
2929
distribution: 'temurin'
3030
java-version: ${{ matrix.java }}

.github/workflows/gradle-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ jobs:
3232
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters
3333
- samples/openapi3/client/petstore/java/jersey2-java8
3434
- samples/client/petstore/java/okhttp-gson
35+
- samples/client/petstore/java/okhttp-gson-group-parameter
3536
steps:
3637
- uses: actions/checkout@v3
37-
- uses: actions/setup-java@v2
38+
- uses: actions/setup-java@v3
3839
with:
3940
distribution: 'temurin'
4041
java-version: 11

.github/workflows/openapi-generator.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Set up JDK 8
20-
uses: actions/setup-java@v2
20+
uses: actions/setup-java@v3
2121
with:
2222
java-version: 8
2323
distribution: 'temurin'
@@ -53,7 +53,7 @@ jobs:
5353
steps:
5454
- uses: actions/checkout@v3
5555
- name: Set up JDK 8
56-
uses: actions/setup-java@v2
56+
uses: actions/setup-java@v3
5757
with:
5858
java-version: 8
5959
distribution: 'temurin'
@@ -88,7 +88,7 @@ jobs:
8888
steps:
8989
- uses: actions/checkout@v3
9090
- name: Set up JDK 8
91-
uses: actions/setup-java@v2
91+
uses: actions/setup-java@v3
9292
with:
9393
java-version: 8
9494
distribution: 'temurin'
@@ -127,7 +127,7 @@ jobs:
127127
steps:
128128
- uses: actions/checkout@v3
129129
- name: Set up JDK 8
130-
uses: actions/setup-java@v2
130+
uses: actions/setup-java@v3
131131
with:
132132
java-version: 8
133133
distribution: 'temurin'
@@ -162,7 +162,7 @@ jobs:
162162
steps:
163163
- uses: actions/checkout@v3
164164
- name: Set up JDK 11
165-
uses: actions/setup-java@v2
165+
uses: actions/setup-java@v3
166166
with:
167167
java-version: 11
168168
distribution: 'temurin'
@@ -195,7 +195,7 @@ jobs:
195195
steps:
196196
- uses: actions/checkout@v3
197197
- name: Set up JDK 11
198-
uses: actions/setup-java@v2
198+
uses: actions/setup-java@v3
199199
with:
200200
java-version: 11
201201
distribution: 'temurin'

.github/workflows/samples-dart.yaml

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ on:
1313
- 'samples/openapi3/client/petstore/dart*/**'
1414

1515
jobs:
16-
tests-dart-2-10:
17-
name: Tests Dart 2.10
16+
tests-dart:
17+
name: Tests Dart
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v3
21-
- uses: actions/setup-java@v2
21+
- uses: actions/setup-java@v3
2222
with:
2323
distribution: 'temurin'
2424
java-version: 8
@@ -40,41 +40,8 @@ jobs:
4040
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('samples/**/pubspec.yaml') }}
4141
- uses: dart-lang/setup-dart@v1
4242
with:
43-
sdk: 2.10.5
43+
sdk: 2.14.0
4444
- name: Run tests
4545
uses: ./.github/actions/run-samples
4646
with:
47-
name: samples.dart-2.10
48-
49-
tests-dart-2-13:
50-
name: Tests Dart 2.13
51-
runs-on: ubuntu-latest
52-
steps:
53-
- uses: actions/checkout@v3
54-
- uses: actions/setup-java@v2
55-
with:
56-
distribution: 'temurin'
57-
java-version: 8
58-
- name: Cache maven dependencies
59-
uses: actions/cache@v3
60-
env:
61-
cache-name: maven-repository
62-
with:
63-
path: |
64-
~/.m2/repository
65-
~/.gradle
66-
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
67-
- name: Cache test dependencies
68-
uses: actions/cache@v3
69-
env:
70-
cache-name: pub-cache
71-
with:
72-
path: $PUB_CACHE
73-
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('samples/**/pubspec.yaml') }}
74-
- uses: dart-lang/setup-dart@v1
75-
with:
76-
sdk: 2.13.0
77-
- name: Run tests
78-
uses: ./.github/actions/run-samples
79-
with:
80-
name: samples.dart-2.13
47+
name: samples.dart

.github/workflows/samples-groovy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- samples/client/petstore/groovy
2323
steps:
2424
- uses: actions/checkout@v3
25-
- uses: actions/setup-java@v2
25+
- uses: actions/setup-java@v3
2626
with:
2727
distribution: 'temurin'
2828
java-version: 8

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ jobs:
3434
- samples/client/petstore/java/rest-assured
3535
- samples/client/petstore/java/rest-assured-jackson
3636
- samples/client/petstore/java/microprofile-rest-client
37+
- samples/client/petstore/java/microprofile-rest-client-3.0
3738
- samples/client/petstore/java/apache-httpclient
3839
- samples/client/petstore/java/feign
3940
- samples/client/petstore/java/jersey1
4041
steps:
4142
- uses: actions/checkout@v3
42-
- uses: actions/setup-java@v2
43+
- uses: actions/setup-java@v3
4344
with:
4445
distribution: 'temurin'
4546
java-version: 11

.github/workflows/samples-java-play-framework.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- samples/server/petstore/java-play-framework-no-wrap-calls
3131
steps:
3232
- uses: actions/checkout@v3
33-
- uses: actions/setup-java@v2
33+
- uses: actions/setup-java@v3
3434
with:
3535
distribution: 'temurin'
3636
java-version: 11

0 commit comments

Comments
 (0)