Skip to content

Merge for PR #9868 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 76 commits into from
Aug 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
39fbf53
create v5.3.0
wing328 Jul 9, 2021
56aafe3
Merge remote-tracking branch 'origin/master' into 5.3.x
wing328 Jul 27, 2021
3825a20
update samples
wing328 Jul 27, 2021
8569ff8
[cpp-pistache-server] Fix missing semicolon in template and missing c…
shayan-eftekhari Aug 14, 2021
7d35e8d
[python-flask] Fix NoneType when deserialize optional date (See #5813…
MarioBotDuComptoirDesPharmacies Aug 14, 2021
5fe76c2
[dart][dio] Nullable parameters & defaults for header/query parameter…
kuhnroyal Aug 15, 2021
fce10c7
fix: correctly checks the hash file when using a classpath input spec…
dhutchison Aug 15, 2021
2210c9f
[PHP] New client generator php-dt (#10041)
Aug 15, 2021
09aa7bf
Add support for Micronaut Client (#10063)
andriy-dmytruk Aug 15, 2021
23fdd1b
update samples
wing328 Aug 15, 2021
74671fa
update doc
wing328 Aug 15, 2021
87554ec
[java][micronaut] minor improvements (#10158)
wing328 Aug 16, 2021
8eb31d0
minor improvements to php-dt generator (#10159)
wing328 Aug 16, 2021
849fec2
[CSharp-Netcore][Go] Optimize time taken to generate CSharp code (#10…
vvb Aug 16, 2021
2d8ee32
skip php client tests due to newer version required
wing328 Aug 16, 2021
d10880c
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Aug 16, 2021
8403e59
Prepare 5.2.1 release (#10161)
wing328 Aug 16, 2021
764a462
Merge remote-tracking branch 'origin/5.3.x'
wing328 Aug 16, 2021
da5d611
update readme
wing328 Aug 16, 2021
9ece1b5
[Java] refactor: improve additionalModelTypeAnnotations generation (#…
UnleashSpirit Aug 17, 2021
8c4991b
minor update to use 5.3.0 (#10168)
wing328 Aug 17, 2021
4cbb33b
[dart][dio] Parameter with default value must not be required (#10163)
kuhnroyal Aug 17, 2021
7edddb6
Add map property in url params (#10154)
agilob Aug 17, 2021
0204bf4
Squashed commit of the following:
wing328 Aug 17, 2021
c71e668
[Java] Add missing imports for Set in java clients (#10171)
Aug 18, 2021
4da3d45
[markdown] Add primitive types to Markdown generator (#5449) (#10106)
michaelgrahamevans Aug 18, 2021
d9f3a02
Fix #8890 (part 2) in every JaxRS pom.mustache templates (#10132)
scali Aug 18, 2021
50acdcb
Fix python generated markdown documentation for Jekyll (#10111)
guy-har Aug 18, 2021
2be2195
fix registering gradle tasks when apply plugin to project (#10079)
kuFEAR Aug 18, 2021
a26422c
update samples
wing328 Aug 18, 2021
cba76c4
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Aug 18, 2021
97b92e3
replace tabs with spaces
wing328 Aug 18, 2021
63562dc
[dart-dio-next] Improve handling nullable objects (#10118)
ahmednfwela Aug 18, 2021
a7de709
[Java][Native] Add an async response interceptor in ApiClient (#10027)
Aug 18, 2021
245aec1
[python] Fixes a breakage while deserializing the read-only attribute…
vvb Aug 18, 2021
81269b8
[cpp-ue4] fix for generating formParams in json requests (#10177)
leith-bartrich Aug 19, 2021
7a64d59
AnyType support for ruby generator (#10192)
XieX Aug 19, 2021
67cba32
update cpp-ue4 samples (#10194)
wing328 Aug 19, 2021
cf4523f
use specific jms/serializer annotation on simple date fields (#10048)
BigBadBassMan Aug 19, 2021
9312ed8
[Typescript-Angular] Fix invalid property in generated code
JohnTraDolta Aug 19, 2021
c772d82
typescript-angular: fix angular tests by using in-memory fake backend…
macjohnny Aug 20, 2021
8462bf3
typescript-angular: copy tests to angular 11 samples (#10209)
macjohnny Aug 20, 2021
3fd5e41
[Typescript] Add application/x-www-form-urlencoded content support (#…
ksvirkou-hubspot Aug 20, 2021
ff13923
[typescript-fetch] Fix config getter type issue (#10216)
badsyntax Aug 21, 2021
65e9e92
enable typescript unit tests (#10211)
macjohnny Aug 21, 2021
f47dc4d
Document JSON-B as microprofile client target (#10172)
Aug 21, 2021
aff4d2f
Correct #9916, fix Produces instances (#10185)
ivanbakel Aug 21, 2021
4e3a98c
New server generator for Haskell/Yesod (#10193)
yotsuya Aug 21, 2021
a71258d
[chsarp-netcore]handle the exception to get correct error message. (#…
Ghufz Aug 21, 2021
4fcf1f5
update samples, doc
wing328 Aug 21, 2021
3de5483
[JAVA] Add apache httpclient library to java clients (#10218)
wing328 Aug 22, 2021
90fca17
[haskell-yesod] Better code format, mark generator as beta (#10222)
wing328 Aug 22, 2021
5b072ea
Add extension to store oneOf/anyOf/allOf objects as full properties (…
zippolyte Aug 22, 2021
4a9a922
java cxf generator should not depend on jaxb when not withXml (#10204)
selliera Aug 22, 2021
197cdac
[JAVA][FEIGN] Automatically retry request that fail due to a 401 or 4…
hugo-ma-alves Aug 22, 2021
14c7e80
add @turkeylurkey as microprofile template creator
wing328 Aug 22, 2021
e89e19e
Add a Jandex index to microprofile client packages (#10173)
Aug 22, 2021
de1f37c
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Aug 22, 2021
845ce72
Update javascript flowed client's package-lock.json file (#10225)
wing328 Aug 22, 2021
a6ba8d5
Merge branch 'master' of https://github.com/openapitools/openapi-gene…
wing328 Aug 22, 2021
deed7c6
update samples
wing328 Aug 22, 2021
d26dd7b
Add a link to dzone article
wing328 Aug 22, 2021
6844737
[ K6 Generator ] Support for extracting examples defined at parameter…
ideas-into-software Aug 22, 2021
f7bc2aa
k6: use spaces instead of tab, remove trailing spaces, update samples
wing328 Aug 22, 2021
84a6e31
[php-slim4] Follow PDS skeleton (#9189)
ybelenko Aug 22, 2021
bee8b61
[abstract csharp] Ensure enum dataType is not nullable string (#9891)
devhl-labs Aug 22, 2021
f2e9942
[Python] fixes __setitem__ throwing an error for composed instance (…
vvb Aug 22, 2021
bcd2459
add a link to medium article
wing328 Aug 23, 2021
158649a
Add oneOfProps, allOfProps, anyOfProps to Codegen model (#10231)
wing328 Aug 23, 2021
cab2244
Typescript-axios: Replace the non-space whitespace
tjzeeman Aug 24, 2021
f2b50fa
Fix unchecked conversion (#10246)
tjzeeman Aug 25, 2021
bf57d58
Move Java Spring Springfox ApiIgnore under conditions (#9644)
fvlad Aug 25, 2021
309dccd
[#10251] Improve the documentation of the option serializationLibrary…
obfischer Aug 25, 2021
67fbb10
Skip setting readOnly properties with default values in model constru…
code-lucidal58 Aug 25, 2021
badfdcc
update doc
wing328 Aug 25, 2021
9c66d33
[go] Support for response status code ranges (#10075)
NathanBaulch Aug 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
These must match the expectations made by your contribution.
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*`.
For Windows users, please run the script in [Git BASH](https://gitforwindows.org/).
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master`, `5.3.x`, `6.0.x`
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (5.3.0), `6.0.x`
- [ ] 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.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,15 @@ samples/client/petstore/python-tornado/.venv/

# PHP
samples/client/petstore/php/OpenAPIClient-php/composer.lock
samples/client/petstore/php-dt/composer.lock
samples/client/petstore/php-dt-modern/composer.lock
samples/openapi3/server/petstore/php-symfony/SymfonyBundle-php/composer.lock
samples/server/petstore/php-laravel/lib/composer.lock
samples/server/petstore/php-lumen/lib/composer.lock
samples/server/petstore/php-slim4/composer.lock
samples/server/petstore/php-symfony/SymfonyBundle-php/composer.lock
samples/server/petstore/php-mezzio-ph/composer.lock
samples/server/petstore/php-mezzio-ph-modern/composer.lock

# ts
samples/client/petstore/typescript-angular2/npm/npm-debug.log
Expand Down Expand Up @@ -212,7 +215,9 @@ cabal.project.local
samples/client/petstore/haskell-http-client/docs/haddock-bundle.min.js
samples/client/petstore/haskell-http-client/docs/meta.json
samples/client/petstore/haskell-http-client/docs/quick-jump.css
samples/client/petstore/haskell-http-client/stack.yaml.lock
samples/server/petstore/haskell-servant/stack.yaml.lock
samples/server/petstore/haskell-yesod/stack.yaml.lock

# R
.Rproj.user
Expand Down
36 changes: 16 additions & 20 deletions README.md

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions bin/configs/go-petstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
packageName: petstore
disallowAdditionalPropertiesIfNotPresent: false
generateInterfaces: true
skipReadonlyPropertiesInInt: false
6 changes: 6 additions & 0 deletions bin/configs/haskell-yesod-petstore-new.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
generatorName: haskell-yesod
outputDir: samples/server/petstore/haskell-yesod
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/haskell-yesod
additionalProperties:
hideGenerationTimestamp: "true"
8 changes: 8 additions & 0 deletions bin/configs/java-apache-httpclient.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
generatorName: java
outputDir: samples/client/petstore/java/apache-httpclient
library: apache-httpclient
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
artifactId: petstore-apache-httpclient
hideGenerationTimestamp: true
9 changes: 9 additions & 0 deletions bin/configs/java-micronaut-client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
generatorName: java-micronaut-client
outputDir: samples/client/petstore/java-micronaut-client/
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
additionalProperties:
artifactId: petstore-micronaut
hideGenerationTimestamp: "true"
configureAuth: "false"
build: "all"
test: "spock"
6 changes: 6 additions & 0 deletions bin/configs/php-dt-modern.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
generatorName: php-dt
outputDir: samples/client/petstore/php-dt-modern
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/php-dt-modern
additionalProperties:
modern: "true"
4 changes: 4 additions & 0 deletions bin/configs/php-dt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
generatorName: php-dt
outputDir: samples/client/petstore/php-dt
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/php-dt
2 changes: 2 additions & 0 deletions bin/utils/release/release_version_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ declare -a xml_files=(
"${root}/modules/openapi-generator-maven-plugin/examples/java-client.xml"
"${root}/modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml"
"${root}/modules/openapi-generator-maven-plugin/examples/non-java.xml"
"${root}/modules/openapi-generator-maven-plugin/examples/kotlin.xml"
"${root}/modules/openapi-generator-maven-plugin/examples/spring.xml"
"${root}/pom.xml"
)

Expand Down
3 changes: 3 additions & 0 deletions docs/generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ The following generators are available:
* [groovy](generators/groovy.md)
* [haskell-http-client](generators/haskell-http-client.md)
* [java](generators/java.md)
* [java-micronaut-client (beta)](generators/java-micronaut-client.md)
* [javascript](generators/javascript.md)
* [javascript-apollo (beta)](generators/javascript-apollo.md)
* [javascript-closure-angular](generators/javascript-closure-angular.md)
Expand All @@ -50,6 +51,7 @@ The following generators are available:
* [ocaml](generators/ocaml.md)
* [perl](generators/perl.md)
* [php](generators/php.md)
* [php-dt (beta)](generators/php-dt.md)
* [powershell (beta)](generators/powershell.md)
* [python (experimental)](generators/python.md)
* [python-legacy](generators/python-legacy.md)
Expand Down Expand Up @@ -92,6 +94,7 @@ The following generators are available:
* [go-server](generators/go-server.md)
* [graphql-nodejs-express-server](generators/graphql-nodejs-express-server.md)
* [haskell](generators/haskell.md)
* [haskell-yesod (beta)](generators/haskell-yesod.md)
* [java-inflector](generators/java-inflector.md)
* [java-msf4j](generators/java-msf4j.md)
* [java-pkmst](generators/java-pkmst.md)
Expand Down
1 change: 1 addition & 0 deletions docs/generators/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The following generators are available:
* [ocaml](ocaml.md)
* [perl](perl.md)
* [php](php.md)
* [php-dt](php-dt.md)
* [powershell](powershell.md)
* [python](python.md)
* [python-legacy](python-legacy.md)
Expand Down
1 change: 1 addition & 0 deletions docs/generators/go-experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sidebar_label: go-experimental
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|structPrefix|whether to prefix struct with the class name. e.g. DeletePetOpts => PetApiDeletePetOpts| |false|
|useOneOfDiscriminatorLookup|Use the discriminator's mapping in oneOf to speed up the model lookup. IMPORTANT: Validation (e.g. one and onlye one match in oneOf's schemas) will be skipped.| |false|
|skipReadonlyPropertiesInInt|Skip default values to the readOnly properties in the model init function./ /false/
|withAWSV4Signature|whether to include AWS v4 signature support| |false|
|withGoCodegenComment|whether to include Go codegen comment to disable Go Lint and collapse by default in GitHub PRs and diffs| |false|
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
Expand Down
1 change: 1 addition & 0 deletions docs/generators/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|packageName|Go package name (convention: lowercase).| |openapi|
|packageVersion|Go package version.| |1.0.0|
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|skipReadonlyPropertiesInInit|Skip default values to the readOnly properties in the model init function| |true|
|structPrefix|whether to prefix struct with the class name. e.g. DeletePetOpts => PetApiDeletePetOpts| |false|
|useOneOfDiscriminatorLookup|Use the discriminator's mapping in oneOf to speed up the model lookup. IMPORTANT: Validation (e.g. one and only one match in oneOf's schemas) will be skipped.| |false|
|withAWSV4Signature|whether to include AWS v4 signature support| |false|
Expand Down
2 changes: 1 addition & 1 deletion docs/generators/groovy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
| Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- |
|additionalEnumTypeAnnotations|Additional annotations for enum type(class level annotations)| |null|
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations)| |null|
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)| |null|
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|apiPackage|package for generated api classes| |org.openapitools.api|
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |openapi-groovy|
Expand Down
187 changes: 187 additions & 0 deletions docs/generators/haskell-yesod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
---
title: Config Options for haskell-yesod
sidebar_label: haskell-yesod
---

These options may be applied as additional-properties (cli) or configOptions (plugins). Refer to [configuration docs](https://openapi-generator.tech/docs/configuration) for more details.

| Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|apiModuleName|name of the API module (Default: generated from info.title or "API")| |null|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C#have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true|
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|projectName|name of the project (Default: generated from info.title or &quot;openapi-haskell-yesod-server&quot;)| |null|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|

## IMPORT MAPPING

| Type/Alias | Imports |
| ---------- | ------- |


## INSTANTIATION TYPES

| Type/Alias | Instantiated By |
| ---------- | --------------- |


## LANGUAGE PRIMITIVES

<ul class="column-ul">
<li>Bool</li>
<li>Day</li>
<li>Double</li>
<li>Float</li>
<li>Int</li>
<li>Int64</li>
<li>Text</li>
<li>UTCTime</li>
</ul>

## RESERVED WORDS

<ul class="column-ul">
<li>as</li>
<li>case</li>
<li>class</li>
<li>data</li>
<li>default</li>
<li>deriving</li>
<li>do</li>
<li>else</li>
<li>family</li>
<li>forall</li>
<li>foreign</li>
<li>hiding</li>
<li>if</li>
<li>import</li>
<li>in</li>
<li>infix</li>
<li>infixl</li>
<li>infixr</li>
<li>instance</li>
<li>let</li>
<li>mdo</li>
<li>module</li>
<li>newtype</li>
<li>of</li>
<li>proc</li>
<li>qualified</li>
<li>rec</li>
<li>then</li>
<li>type</li>
<li>where</li>
</ul>

## FEATURE SET


### Client Modification Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|BasePath|✗|ToolingExtension
|Authorizations|✗|ToolingExtension
|UserAgent|✗|ToolingExtension
|MockServer|✗|ToolingExtension

### Data Type Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|Custom|✗|OAS2,OAS3
|Int32|✓|OAS2,OAS3
|Int64|✓|OAS2,OAS3
|Float|✓|OAS2,OAS3
|Double|✓|OAS2,OAS3
|Decimal|✓|ToolingExtension
|String|✓|OAS2,OAS3
|Byte|✓|OAS2,OAS3
|Binary|✓|OAS2,OAS3
|Boolean|✓|OAS2,OAS3
|Date|✓|OAS2,OAS3
|DateTime|✓|OAS2,OAS3
|Password|✓|OAS2,OAS3
|File|✓|OAS2
|Array|✓|OAS2,OAS3
|Maps|✓|ToolingExtension
|CollectionFormat|✓|OAS2
|CollectionFormatMulti|✓|OAS2
|Enum|✓|OAS2,OAS3
|ArrayOfEnum|✓|ToolingExtension
|ArrayOfModel|✓|ToolingExtension
|ArrayOfCollectionOfPrimitives|✓|ToolingExtension
|ArrayOfCollectionOfModel|✓|ToolingExtension
|ArrayOfCollectionOfEnum|✓|ToolingExtension
|MapOfEnum|✓|ToolingExtension
|MapOfModel|✓|ToolingExtension
|MapOfCollectionOfPrimitives|✓|ToolingExtension
|MapOfCollectionOfModel|✓|ToolingExtension
|MapOfCollectionOfEnum|✓|ToolingExtension

### Documentation Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|Readme|✓|ToolingExtension
|Model|✓|ToolingExtension
|Api|✓|ToolingExtension

### Global Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|Host|✓|OAS2,OAS3
|BasePath|✓|OAS2,OAS3
|Info|✓|OAS2,OAS3
|Schemes|✗|OAS2,OAS3
|PartialSchemes|✓|OAS2,OAS3
|Consumes|✓|OAS2
|Produces|✓|OAS2
|ExternalDocumentation|✓|OAS2,OAS3
|Examples|✓|OAS2,OAS3
|XMLStructureDefinitions|✗|OAS2,OAS3
|MultiServer|✗|OAS3
|ParameterizedServer|✗|OAS3
|ParameterStyling|✗|OAS3
|Callbacks|✗|OAS3
|LinkObjects|✗|OAS3

### Parameter Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|Path|✓|OAS2,OAS3
|Query|✓|OAS2,OAS3
|Header|✓|OAS2,OAS3
|Body|✓|OAS2
|FormUnencoded|✓|OAS2
|FormMultipart|✓|OAS2
|Cookie|✓|OAS3

### Schema Support Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|Simple|✓|OAS2,OAS3
|Composite|✓|OAS2,OAS3
|Polymorphism|✗|OAS2,OAS3
|Union|✗|OAS3

### Security Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|BasicAuth|✓|OAS2,OAS3
|ApiKey|✓|OAS2,OAS3
|OpenIDConnect|✗|OAS3
|BearerToken|✗|OAS3
|OAuth2_Implicit|✓|OAS2,OAS3
|OAuth2_Password|✗|OAS2,OAS3
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|OAuth2_AuthorizationCode|✗|OAS2,OAS3

### Wire Format Feature
| Name | Supported | Defined By |
| ---- | --------- | ---------- |
|JSON|✓|OAS2,OAS3
|XML|✗|OAS2,OAS3
|PROTOBUF|✗|ToolingExtension
|Custom|✗|OAS2,OAS3
2 changes: 1 addition & 1 deletion docs/generators/java-inflector.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
| Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- |
|additionalEnumTypeAnnotations|Additional annotations for enum type(class level annotations)| |null|
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations)| |null|
|additionalModelTypeAnnotations|Additional annotations for model type(class level annotations). List separated by semicolon(;) or new line (Linux or Windows)| |null|
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|apiPackage|package for generated api classes| |org.openapitools.controllers|
|artifactDescription|artifact description in generated pom.xml| |OpenAPI Java|
Expand Down
Loading