18059 Commits

Author SHA1 Message Date
Slawomir Kwasniak
0e4eb50af2
Fix typo in supportAndroidApiLevel25AndBelow help (#11821)
Obvious typo in the kotlin help description of the
`supportAndroidApiLevel25AndBelow` configuration parameter i.e.
`in oder` instead of `in order`.

Co-authored-by: Slawomir Kwasniak <slawomir.kwasniak@hensoldt-cyber.de>
2022-03-09 00:01:23 +08:00
William Cheng
1b045a67df skip tests for jdk17 in github actino 2022-03-07 09:55:15 +08:00
Radek Postołowicz
c22997b9b8
Cleanup Jackson type info mess fixes (#9441) (#11691)
* Cleanup Jackson type info mess fixes (#9441)

* fixup! add import mapping for JsonIgnoreProperties
2022-03-07 09:36:05 +08:00
William Cheng
9a12bce41d skip javadoc for jdk17 in tests 2022-03-07 09:33:20 +08:00
William Cheng
482032d14f
fix warnings due to incorrect docstring (#11815) 2022-03-07 09:23:09 +08:00
Oleh Kurpiak
382e2a22a8
Document all used vendor extensions in specific generator (#11797) 2022-03-06 23:21:55 +08:00
Abrhm7786
be8567f656
V4 Azure functions + some tweaks (#11345)
* Copying files from LeonB's fork

* Changes as per PR comments

* Resolved merge conflict

Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-03-06 23:20:04 +08:00
Pang
7466bc2ed6
[Client:C] [C-libcurl] cmake support specify path (#11790) 2022-03-06 22:39:21 +08:00
William Cheng
188f37f5a9 Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator 2022-03-06 22:35:33 +08:00
William Cheng
03d4d75431 update C# samples 2022-03-06 22:35:04 +08:00
William Cheng
79872523d6
add tests, better code format (#11814) 2022-03-06 22:34:33 +08:00
paritoshgote-msft
a1862ff5ce
Fix ClientCertificates plumbing for csharp config. (#11711)
Fixes the injection of ClientCertificates in Configuration.mustache for csharp netcore and netcore-functions.
2022-03-06 22:00:03 +08:00
William Cheng
f33ace6b03 update c samples 2022-03-06 21:48:00 +08:00
방진영
284fbdfc4d
Fix list keyword (#11806) 2022-03-06 21:41:38 +08:00
William Cheng
087c5a2fdb update c# samples 2022-03-06 21:29:49 +08:00
Emanuele Saccomandi
9efda42d57
fixed csharp netcore conditional serialization (#11710) 2022-03-06 21:22:04 +08:00
Oleh Kurpiak
877812d0ba
[Java] use x-implements (#11784) 2022-03-06 21:00:26 +08:00
Noah Fontes
31f0c65378
Fix example generation when missing models (#11805)
For some buggy configurations, a warning is emitted indicating that for
a given request body the corresponding CodegenModel could not be found.
When this happens, some generators produce NPEs when writing out example
code. This change avoids the NPEs by providing a stub value instead.
2022-03-05 14:31:54 +08:00
Juha Syrjälä
23e44abda3
Fix jaxrs-spec to run with JDK 17 (#11798)
JDK17 is missing class `javax.annotation.Generated`.

Add javax.annotation:javax.annotation-api 1.3.2

Fixes https://github.com/OpenAPITools/openapi-generator/issues/11795
2022-03-05 14:21:05 +08:00
chatelao
79d9193374
Confluence Wiki - Escape special characters (#11786)
The Confluence Markup needs to escape some characters.
2022-03-04 23:15:22 +08:00
pichlau
5128e88f5f
Fix for issue #11779 (#11781)
Adding in the mustache template of the description value in @Operation annotation.
2022-03-04 23:08:40 +08:00
Oleh Kurpiak
2e0dc573b3
[Java][WebClient] allow sync requests (#11780) 2022-03-04 22:58:03 +08:00
dependabot[bot]
9bccd43c59
Bump actions/upload-artifact from 2.3.1 to 3 (#11787)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 22:54:42 +08:00
Oleh Kurpiak
3656ec5260
[Java] remove samples & replace them with file asserts (#11773) 2022-03-03 19:58:03 +08:00
dependabot[bot]
00ec168536
Bump actions/download-artifact from 2.1.0 to 3 (#11777)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2.1.0 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2.1.0...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 10:38:42 +08:00
Laurens-W
5ad9f1889e
[DefaultCodegen] GetReferenceHeader for both calls of headerToCodegenParameter (#11756)
* GetReferenceHeader for both calls of headerToCodegenParameter

* Moved dereferencing of header outside of headerToCodegenParameter

Co-authored-by: Westerlaken, H.L. (Laurens) <laurens.westerlaken@devolksbank.nl>
2022-03-02 07:22:59 -08:00
William Cheng
8c023fae19 replace tabs with spaces in rust generator 2022-03-02 19:23:13 +08:00
William Cheng
876f2fe9f7
[typescript-angular] update package.json (v11) to address security alerts (#11765)
* remove package-lock.json

* remove package-lock.json, update dev dependencies

* add package-lock.json
2022-03-02 17:21:13 +08:00
William Cheng
2130bf4f78
add davidgamero to typescript tc (#11769) 2022-03-02 16:53:29 +08:00
dependabot[bot]
fd114da988
Bump follow-redirects from 1.14.7 to 1.14.9 in /website (#11762)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 16:32:02 +08:00
dependabot[bot]
6ffe28d7f0
Bump actions/checkout from 2 to 3 (#11764)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 16:31:39 +08:00
William Cheng
c87f33dc46 remove typescript angular v6, v7 samples 2022-03-02 16:25:02 +08:00
sdoeringNew
53c2c66682
#8881: add ESM to typescript-fetch (#11720)
In case of "supportsES6" an additional tsconfig.esm.json is created. That will add an ECMAScript module to the npm build.
2022-03-02 08:37:54 +01:00
Karsten Thoms
6a7fc38fb9
[#4650] Fix StackOverflowError for recursive composite schemas (#11620)
The generator ran into a loop when a composite schema recursively added itself. This change provides a reproducing example and fixes the issue by extending DefaultCodegen#addProperties() by an additional circuit breaker parameter.

When additionalProperties() is called with a schema instance for which the properties have already been added, the method directly returns and does not run into the loop.
2022-03-02 01:35:47 +08:00
Jérôme Jutteau
21f649e087
[Rust] Support for withAWSV4Signature option (#11690)
* [rust] add support for withAWSV4Signature option in reqwest (#11193)

Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>

* [rust] add petstore sample for withAWSV4Signature option for reqwest (#11193)

Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>

* [rust] update all samples (#11193)

Signed-off-by: Jérôme Jutteau <jerome.jutteau@outscale.com>
2022-03-02 01:20:58 +08:00
Sergey Vladimirov
1b6ab63953
Add beanQualifiers option to kotlin-server (#11745) 2022-03-02 00:57:30 +08:00
Yohei Kitamura
f03b1e7261
[ruby] Allow boolean for discriminator value in oneOf handling (#11750) 2022-03-02 00:43:33 +08:00
LeComptoirDesPharmacies
dfc471dd90
LDS-2228 : remove undefined headers (#11757)
Remove undefined value from header

Envoyé depuis mon iPhone.
P.S. : Ce commit est certifié sans gluten

Co-authored-by: Géry THRASIBULE <g.thrasibule@lecomptoirdespharmacies.fr>
2022-03-01 17:37:56 +01:00
bgong-mdsol
417d69425a
[scala-sttp] fix enumeration operator constant name collision (#10596)
* fix enumeration operator onstant name collision

* test to verify OperatorName
2022-03-02 00:32:25 +08:00
Stephane Carrez
e37400554c
[Ada] New options to choose the Ada support library in client and server (#11749)
* [Ada] New options to choose the Ada support library in client and server generated code

* new option httpSupport to choose between Curl or AWS (Ada Web Server) support
* new option openApiName to choose the package name of the OpenAPI support library
* update the templates to customize the support library
* update generated GNAT config.gpr file
* update the client petstore Ada samples

* Fix call to toLowerCase() to give a locale

* Rebuild the Ada generator documentation
2022-03-02 00:30:29 +08:00
Antoine Reilles
a5952bfb10
[jaxrs-cxf-cdi] mark deprecated api methods (#11755)
In the generated java code, it is usefull to have the generated java api
use the @Deprecated annotation. This enable to leverage this annotation
at runtime to trigger specific logging for instance.

In the generated interface, use the @Deprecated annotation.
Also, in the jax-rs implementation that links the jax-rs api with the
cdi bean implementing the interface, use the
@SuppressWarnings("deprecation") annotation. This way the deprecation
warning is not shown in generated code.

One can use the interface as before: the java compiler can then tell
which implementations do implement a deprecated api, using a warning.
If the implementation itself also sets the @Deprecated annotation, then
there is no warning, unless the implementation is called at another
place in the code.
2022-03-02 00:17:11 +08:00
Mico Piira
4daead1aea
[Java] Fix reactor-netty dependency (#11747)
The spring-boot-starter-webflux uses
io.projectreactor.netty:reactor-netty-http
dependency so the io.projectreactor.ipc:reactor-netty
is actually not used at all
2022-03-01 17:39:58 +08:00
Brian Erkkinen
a9c27b7c78
Fix slack join links in documentation (#11753) 2022-03-01 13:53:40 +08:00
William Cheng
bdfca5b95f
fix typo in cpp qt client (#11752) 2022-03-01 13:52:41 +08:00
William Cheng
9d86d1db5e
fix typo in java feign client (#11751) 2022-03-01 11:22:19 +08:00
William Cheng
d2b80984ed fix compilation errors in the C# client generator 2022-02-28 09:41:47 +08:00
devhl-labs
76d224fe9b
removed eol frameworks (#11532) 2022-02-28 09:35:00 +08:00
Oleh Kurpiak
5b9efb6b5b
[Java] Java class assert (#11738)
* [Java] java file assert

* [Java] java file assert
2022-02-28 07:59:41 +08:00
sullis
433d130b1b
openrewrite 7.19.0 (#11740) 2022-02-27 11:54:13 -08:00
sullis
67b3a3fb63
archunit 0.23.1 (#11739) 2022-02-27 09:19:50 -08:00