Skip to content

Commit 7237a4a

Browse files
committed
Merge remote-tracking branch 'origin/master' into feature/remove-unused-normalizer
# Conflicts: # modules/openapi-generator/src/main/java/org/openapitools/codegen/OpenAPINormalizer.java # modules/openapi-generator/src/test/java/org/openapitools/codegen/OpenAPINormalizerTest.java
2 parents 733c79c + 7486f12 commit 7237a4a

8,464 files changed

Lines changed: 14955 additions & 27485 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.

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
<div align="center">
1717

18-
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.17.0`):
18+
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.18.0`):
1919
[![Integration Test2](https://circleci.com/gh/OpenAPITools/openapi-generator.svg?style=shield)](https://circleci.com/gh/OpenAPITools/openapi-generator)
2020
[![Bitrise](https://img.shields.io/bitrise/4a2b10a819d12b67/master?label=bitrise%3A%20Swift+4,5&token=859FMDR8QHwabCzwvZK6vQ)](https://app.bitrise.io/app/4a2b10a819d12b67)
2121

@@ -148,8 +148,8 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20
148148

149149
| OpenAPI Generator Version | Release Date | Notes |
150150
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------------------------------------- |
151-
| 7.17.0 (upcoming minor release) [SNAPSHOT](https://github.com/OpenAPITools/openapi-generator/wiki/FAQ#how-to-test-with-the-latest-master-of-openapi-generator) | 24.10.2025 | Minor release with breaking changes (with fallback) |
152-
| [7.16.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.16.0) (latest stable release) | 28.09.2025 | Minor release with breaking changes (with fallback) |
151+
| 7.18.0 (upcoming minor release) [SNAPSHOT](https://github.com/OpenAPITools/openapi-generator/wiki/FAQ#how-to-test-with-the-latest-master-of-openapi-generator) | 10.12.2025 | Minor release with breaking changes (with fallback) |
152+
| [7.17.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.17.0) (latest stable release) | 29.10.2025 | Minor release with breaking changes (with fallback) |
153153
| [6.6.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v6.6.0) | 11.05.2023 | Minor release with breaking changes (with fallback) |
154154
| [5.4.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.4.0) | 31.01.2022 | Minor release with breaking changes (with fallback) |
155155
| [4.3.1](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.3.1) | 06.05.2020 | Patch release (enhancements, bug fixes, etc) |
@@ -212,16 +212,16 @@ See the different versions of the [openapi-generator-cli](https://search.maven.o
212212
<!-- RELEASE_VERSION -->
213213
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 11 runtime at a minimum):
214214

215-
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar`
215+
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar`
216216

217217
For **Mac/Linux** users:
218218
```sh
219-
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar -O openapi-generator-cli.jar
219+
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar -O openapi-generator-cli.jar
220220
```
221221

222222
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
223223
```
224-
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar
224+
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar
225225
```
226226

227227
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -456,7 +456,7 @@ openapi-generator-cli version
456456
To use a specific version of "openapi-generator-cli"
457457

458458
```sh
459-
openapi-generator-cli version-manager set 7.16.0
459+
openapi-generator-cli version-manager set 7.17.0
460460
```
461461

462462
Or install it as dev-dependency:
@@ -480,7 +480,7 @@ pip install openapi-generator-cli
480480

481481
To install a specific version
482482
```
483-
pip install openapi-generator-cli==7.16.0
483+
pip install openapi-generator-cli==7.17.0
484484
```
485485

486486
You can also install with [jdk4py](https://github.com/activeviam/jdk4py) instead of java binary. (python>=3.10 is required)
@@ -506,7 +506,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
506506
(if you're on Windows, replace the last command with `java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g php -o c:\temp\php_api_client`)
507507

508508
<!-- RELEASE_VERSION -->
509-
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar)
509+
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar)
510510
<!-- /RELEASE_VERSION -->
511511

512512
To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate`

bin/configs/python-httpx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ library: httpx
66
additionalProperties:
77
packageName: petstore_api
88
mapNumberTo: float
9-
poetry1: true
9+
poetry1: false
1010
nameMappings:
1111
_type: underscore_type
1212
type_: type_with_underscore

docs/customization.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,13 @@ Example:
644644
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g java -i modules/openapi-generator/src/test/resources/3_0/required-properties.yaml -o /tmp/java-okhttp/ --openapi-normalizer NORMALIZER_CLASS=org.openapitools.codegen.OpenAPINormalizerTest$RemoveRequiredNormalizer
645645
```
646646
647+
- `REMOVE_PROPERTIES_FROM_TYPE_OTHER_THAN_OBJECT`: When set to true, remove the "properties" of a schema with type other than "object".
648+
649+
Example:
650+
```
651+
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g java -i modules/openapi-generator/src/test/resources/3_0/required-properties.yaml -o /tmp/java-okhttp/ --openapi-normalizer REMOVE_PROPERTIES_FROM_TYPE_OTHER_THAN_OBJECT=true
652+
```
653+
647654
- `FILTER`
648655
649656
The `FILTER` parameter allows selective inclusion of API operations based on specific criteria. It applies the `x-internal: true` property to operations that do **not** match the specified values, preventing them from being generated. Multiple filters can be separated by a semicolon.

docs/generators/python-aiohttp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5555
<ul class="column-ul">
5656
<li>Dict</li>
5757
<li>List</li>
58+
<li>UUID</li>
5859
<li>bool</li>
5960
<li>bytes</li>
6061
<li>date</li>

docs/generators/python-blueplanet.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5555
<ul class="column-ul">
5656
<li>Dict</li>
5757
<li>List</li>
58+
<li>UUID</li>
5859
<li>bool</li>
5960
<li>bytes</li>
6061
<li>date</li>

docs/generators/python-fastapi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5050
<ul class="column-ul">
5151
<li>Dict</li>
5252
<li>List</li>
53+
<li>UUID</li>
5354
<li>bool</li>
5455
<li>bytes</li>
5556
<li>date</li>

docs/generators/python-flask.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5555
<ul class="column-ul">
5656
<li>Dict</li>
5757
<li>List</li>
58+
<li>UUID</li>
5859
<li>bool</li>
5960
<li>bytes</li>
6061
<li>date</li>

docs/generators/python.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
5353
<ul class="column-ul">
5454
<li>Dict</li>
5555
<li>List</li>
56+
<li>UUID</li>
5657
<li>bool</li>
5758
<li>bytearray</li>
5859
<li>bytes</li>

docs/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ npm install @openapitools/openapi-generator-cli -g
2222
To install a specific version of the tool, pass the version during installation:
2323
<!-- RELEASE_VERSION -->
2424
```bash
25-
openapi-generator-cli version-manager set 7.16.0
25+
openapi-generator-cli version-manager set 7.17.0
2626
```
2727
<!-- /RELEASE_VERSION -->
2828
To install the tool as a dev dependency in your current project:
@@ -119,18 +119,18 @@ docker run --rm \
119119
<!-- RELEASE_VERSION -->
120120
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 11 runtime at a minimum):
121121

122-
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar`
122+
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar`
123123

124124
For **Mac/Linux** users:
125125

126126
```bash
127-
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar -O openapi-generator-cli.jar
127+
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar -O openapi-generator-cli.jar
128128
```
129129

130130
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
131131

132132
```powershell
133-
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.16.0/openapi-generator-cli-7.16.0.jar
133+
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.17.0/openapi-generator-cli-7.17.0.jar
134134
```
135135
<!-- /RELEASE_VERSION -->
136136

docs/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase)
1616
<plugin>
1717
<groupId>org.openapitools</groupId>
1818
<artifactId>openapi-generator-maven-plugin</artifactId>
19-
<version>7.16.0</version>
19+
<version>7.17.0</version>
2020
<executions>
2121
<execution>
2222
<goals>

0 commit comments

Comments
 (0)