Skip to content

Commit eabae1e

Browse files
authored
Merge branch 'OpenAPITools:master' into master
2 parents f15ae4e + 4cffd32 commit eabae1e

599 files changed

Lines changed: 10199 additions & 2658 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.

.devcontainer/devcontainer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
},
1212
"ghcr.io/devcontainers/features/rust:1": {},
1313
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
14-
"docker-in-docker": {
14+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
1515
"version": "latest",
16-
"moby": true,
17-
"dockerDashComposeVersion": "v1"
16+
"moby": true
1817
}
1918
},
2019
// Configure tool-specific properties.

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @martindelille
2828
samples/client/petstore/cpp-qt/**/* @martindelille
2929
modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @muttleyxd
3030
samples/client/petstore/cpp-qt/**/* @muttleyxd
31+
32+
# cpp-rest-client technical committee
33+
modules/openapi-generator/src/main/resources/cpp-rest-client/**/* @aminya
34+
samples/client/petstore/cpp-restsdk/**/* @aminya

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ assignees: ''
1010
#### Bug Report Checklist
1111

1212
- [ ] Have you provided a full/minimal spec to reproduce the issue?
13-
- [ ] Have you validated the input using an OpenAPI validator ([example](https://apitools.dev/swagger-parser/online/))?
13+
- [ ] Have you validated the input using an OpenAPI validator?
1414
- [ ] Have you [tested with the latest master](https://github.com/OpenAPITools/openapi-generator/wiki/FAQ#how-to-test-with-the-latest-master-of-openapi-generator) to confirm the issue still exists?
1515
- [ ] Have you searched for related issues/PRs?
1616
- [ ] What's the actual output vs expected output?

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
./bin/generate-samples.sh ./bin/configs/*.yaml || exit
1212
./bin/utils/export_docs_generators.sh || exit
1313
```
14-
(For Windows users, please run the script in [Git BASH](https://gitforwindows.org/))
14+
(For Windows users, please run the script in [WSL](https://learn.microsoft.com/en-us/windows/wsl/install))
1515
Commit all changed files.
1616
This is important, as CI jobs will verify _all_ generator outputs of your HEAD commit as it would merge with master.
1717
These must match the expectations made by your contribution.

.github/workflows/openapi-generator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ jobs:
144144
run: |
145145
rm -rf samples/client/petstore/csharp/generichost/latest/HelloWorld
146146
rm -rf samples/client/petstore/csharp/generichost/latest/Tags
147+
rm -rf samples/client/petstore/csharp/generichost/latest/OneOfList
147148
148149
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
149150
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOf

.github/workflows/samples-dotnet9.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
sample:
2626
- samples/client/petstore/csharp/generichost/latest/Tags
2727
- samples/client/petstore/csharp/generichost/latest/HelloWorld
28+
- samples/client/petstore/csharp/generichost/latest/OneOfList
2829
- samples/client/petstore/csharp/generichost/net9/AllOf
2930
- samples/client/petstore/csharp/generichost/net9/AnyOf
3031
- samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Samples Elixir
2+
3+
on:
4+
push:
5+
paths:
6+
- samples/client/petstore/elixir/**
7+
pull_request:
8+
paths:
9+
- samples/client/petstore/elixir/**
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
14+
strategy:
15+
matrix:
16+
otp: ['25.3.2', '26.2.5', '27.3.3']
17+
elixir: ['1.18.3']
18+
sample:
19+
- samples/client/petstore/elixir/
20+
services:
21+
petstore-api:
22+
image: swaggerapi/petstore
23+
ports:
24+
- 80:8080
25+
env:
26+
SWAGGER_HOST: http://petstore.swagger.io
27+
SWAGGER_BASE_PATH: /v2
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: erlef/setup-beam@v1
31+
with:
32+
otp-version: ${{matrix.otp}}
33+
elixir-version: ${{matrix.elixir}}
34+
- name: mix deps.get
35+
run: mix deps.get
36+
working-directory: ${{ matrix.sample }}
37+
- name: mix test
38+
run: mix test
39+
working-directory: ${{ matrix.sample }}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
- samples/server/others/kotlin-server/jaxrs-spec-array-response
4949
- samples/server/petstore/kotlin-spring-cloud
5050
- samples/server/petstore/kotlin-misk
51+
- samples/server/petstore/kotlin-misk-config
5152
# comment out due to gradle build failure
5253
#- samples/server/petstore/kotlin-spring-default
5354
# no build.gradle file

CI/circle_parallel.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ elif [ "$NODE_INDEX" = "3" ]; then
7474
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
7575
#nvm install stable
7676
# install v16 instead of the latest stable version
77-
nvm install 16
78-
nvm alias default 16
77+
nvm install 18
78+
nvm alias default 18
7979
node --version
8080

8181
# Each step uses the same `$BASH_ENV`, so need to modify it

README.md

Lines changed: 43 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -97,32 +97,48 @@ OpenAPI Generator allows generation of API client libraries (SDK generation), se
9797

9898
## Table of contents
9999

100-
- [OpenAPI Generator](#openapi-generator)
101-
- [Overview](#overview)
102-
- [Table of Contents](#table-of-contents)
103-
- [1 - Installation](#1---installation)
104-
- [1.1 - Compatibility](#11---compatibility)
105-
- [1.2 - Artifacts on Maven Central](#12---artifacts-on-maven-central)
106-
- [1.3 - Download JAR](#13---download-jar)
107-
- [1.4 - Build Projects](#14---build-projects)
108-
- [1.5 - Homebrew](#15---homebrew)
109-
- [1.6 - Docker](#16---docker)
110-
- [1.7 - NPM](#17---npm)
111-
- [1.8 - pip](#18---pip)
112-
- [2 - Getting Started](#2---getting-started)
113-
- [3 - Usage](#3---usage)
114-
- [3.1 - Customization](#31---customization)
115-
- [3.2 - Workflow Integration](#32---workflow-integration-maven-gradle-github-cicd)
116-
- [3.3 - Online Generators](#33---online-openapi-generator)
117-
- [3.4 - License Information on Generated Code](#34---license-information-on-generated-code)
118-
- [3.5 - IDE Integration](#35---ide-integration)
119-
- [4 - Companies/Projects using OpenAPI Generator](#4---companiesprojects-using-openapi-generator)
120-
- [5 - Presentations/Videos/Tutorials/Books](#5---presentationsvideostutorialsbooks)
121-
- [6 - About Us](#6---about-us)
122-
- [6.1 - OpenAPI Generator Core Team](#61---openapi-generator-core-team)
123-
- [6.2 - OpenAPI Generator Technical Committee](#62---openapi-generator-technical-committee)
124-
- [6.3 - History of OpenAPI Generator](#63---history-of-openapi-generator)
125-
- [7 - License](#7---license)
100+
- [Sponsors](#sponsors)
101+
- [Thank you to our bronze sponsors!](#thank-you-to-our-bronze-sponsors)
102+
- [Thank you GoDaddy for sponsoring the domain names, Linode for sponsoring the VPS, Checkly for sponsoring the API monitoring and Gradle for sponsoring Develocity](#thank-you-godaddy-for-sponsoring-the-domain-names-linode-for-sponsoring-the-vps-checkly-for-sponsoring-the-api-monitoring-and-gradle-for-sponsoring-develocity)
103+
- [Overview](#overview)
104+
- [Table of contents](#table-of-contents)
105+
- [1 - Installation](#1---installation)
106+
- [1.1 - Compatibility](#11---compatibility)
107+
- [1.2 - Artifacts on Maven Central](#12---artifacts-on-maven-central)
108+
- [1.3 - Download JAR](#13---download-jar)
109+
- [Launcher Script](#launcher-script)
110+
- [1.4 - Build Projects](#14---build-projects)
111+
- [Nix users](#nix-users)
112+
- [1.5 - Homebrew](#15---homebrew)
113+
- [1.6 - Docker](#16---docker)
114+
- [Public Pre-built Docker images](#public-pre-built-docker-images)
115+
- [OpenAPI Generator CLI Docker Image](#openapi-generator-cli-docker-image)
116+
- [OpenAPI Generator Online Docker Image](#openapi-generator-online-docker-image)
117+
- [Development in docker](#development-in-docker)
118+
- [Troubleshooting](#troubleshooting)
119+
- [Run Docker in Vagrant](#run-docker-in-vagrant)
120+
- [1.7 - NPM](#17---npm)
121+
- [1.8 - pip](#18---pip)
122+
- [2 - Getting Started](#2---getting-started)
123+
- [3 - Usage](#3---usage)
124+
- [To generate a sample client library](#to-generate-a-sample-client-library)
125+
- [3.1 - Customization](#31---customization)
126+
- [3.2 - Workflow Integration (Maven, Gradle, Github, CI/CD)](#32---workflow-integration-maven-gradle-github-cicd)
127+
- [3.3 - Online OpenAPI generator](#33---online-openapi-generator)
128+
- [3.4 - License information on Generated Code](#34---license-information-on-generated-code)
129+
- [3.5 - IDE Integration](#35---ide-integration)
130+
- [4 - Companies/Projects using OpenAPI Generator](#4---companiesprojects-using-openapi-generator)
131+
- [5 - Presentations/Videos/Tutorials/Books](#5---presentationsvideostutorialsbooks)
132+
- [6 - About Us](#6---about-us)
133+
- [6.1 - OpenAPI Generator Core Team](#61---openapi-generator-core-team)
134+
- [Core Team Members](#core-team-members)
135+
- [Template Creator](#template-creator)
136+
- [How to join the core team](#how-to-join-the-core-team)
137+
- [6.2 - OpenAPI Generator Technical Committee](#62---openapi-generator-technical-committee)
138+
- [Members of Technical Committee](#members-of-technical-committee)
139+
- [6.3 - History of OpenAPI Generator](#63---history-of-openapi-generator)
140+
- [Founding Members (alphabetical order):](#founding-members-alphabetical-order)
141+
- [7 - License](#7---license)
126142

127143
## [1 - Installation](#table-of-contents)
128144

@@ -1219,7 +1235,7 @@ If you want to join the committee, please kindly apply by sending an email to te
12191235
| Apex | |
12201236
| Bash | @frol (2017/07) @bkryza (2017/08) @kenjones-cisco (2017/09) |
12211237
| C | @zhemant (2018/11) @ityuhui (2019/12) @michelealbano (2020/03) @eafer (2024/12) |
1222-
| C++ | @ravinikam (2017/07) @stkrwork (2017/07) @etherealjoy (2018/02) @martindelille (2018/03) @muttleyxd (2019/08) |
1238+
| C++ | @ravinikam (2017/07) @stkrwork (2017/07) @etherealjoy (2018/02) @martindelille (2018/03) @muttleyxd (2019/08) @aminya (2025/05) |
12231239
| C# | @mandrean (2017/08) @shibayan (2020/02) @Blackclaws (2021/03) @lucamazzanti (2021/05) @iBicha (2023/07) |
12241240
| Clojure | |
12251241
| Crystal | @cyangle (2021/01) |

0 commit comments

Comments
 (0)