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
William Cheng
683984896e
update maven-javadoc-plugin to newer version ( #11737 )
2022-02-27 16:57:16 +08:00
William Cheng
5764469051
[Java] Add useOneOfDiscriminatorLookup option ( #11736 )
...
* add useOneOfDiscriminatorLookup option to java client generator
* remove null
2022-02-27 16:50:29 +08:00
William Cheng
7d225aaea7
replace tabs with 4-spaces
2022-02-27 16:38:46 +08:00
William Cheng
efe90defc0
fix java version in check-supported-versions worfklow
2022-02-27 16:22:46 +08:00
ravinallappan
a1da4c9c5e
Enhance scalatra server codegen to include openapi info and package dir ( #11385 )
...
* enhance scalatra server codegen to include openapi info and package dir
* enhance scalatra server codegen to include openapi info and package dir
Co-authored-by: Ravi Nallappan <ravi_nallappan@persistent.com>
2022-02-27 16:03:01 +08:00
William Cheng
319ccbd138
update samples
2022-02-27 15:52:05 +08:00
William Cheng
b0877a112d
fix oneOf discriminator lookup in java okhttp-gson client ( #11735 )
2022-02-27 15:42:54 +08:00
Reda
33b89148e5
[JavaSpring] Multipart causing HttpMediaTypeNotSupportedException when parameter is different than File or String ( #11449 )
...
* Generate @RequestParam when parameter is not a File
* Fix tests to use @RequestParam
* Enhance testMultipartBoot test case
* Update the Petstore sample
* Add MultipartMixedStatus files
* Use @RequestPart for spring-cloud when param is File
* Generate samples
* Delete spring-cloud formParams.mustache file
* Regenerate samples
2022-02-27 15:07:35 +08:00
sullis
f1d0724f2a
[java] junit 4.13.2 ( #11733 )
2022-02-27 13:18:19 +08:00
William Cheng
33ec0540b2
fix typo in the comments ( #11729 )
2022-02-26 15:45:30 +08:00
William Cheng
c3c82513fe
update samples for cpp-qt client
2022-02-26 15:26:10 +08:00
Itay Grudev
03f3fd09cd
Bug Fix: Cast from QByteArray to std::runtime_error ( #11594 )
...
```
error: no matching conversion for functional-style cast from 'QByteArray' to 'std::runtime_error'
```
2022-02-26 15:20:10 +08:00
Dominik Schmidt
e35a1270a3
Simplify forward declaration detection ( #11490 )
...
This makes sure all model classes are added to the forward declarations
which makes it possible to create templates without any model includes
which helps to resolve circular inclusion issues.
2022-02-26 14:56:41 +08:00
William Cheng
4d6b733d91
fix typo with camelUseDefaultValidationtErrorProcessor ( #11728 )
2022-02-26 14:51:02 +08:00
William Cheng
5c673d89c4
[typescript-angular] only support Angular v9+ ( #11726 )
...
* only angular 9+ is supported in typescript-angular
* clean up typescript-angular samples
* clean up samples
* fix test, update doc
2022-02-26 07:49:21 +01:00
William Cheng
0e14afc952
fix maven-wrapper.properties filename typo ( #11727 )
2022-02-26 14:36:33 +08:00
William Cheng
1cd4f3b46f
update ruby samples
2022-02-26 14:20:09 +08:00
Zane Wolfgang Pickett
51ecfcd743
Expose proxy settings for Ruby Faraday ( #11692 )
2022-02-26 14:16:59 +08:00
William Cheng
9a33f99937
fix typos
2022-02-26 14:01:17 +08:00
dependabot[bot]
f774115af5
Bump url-parse from 1.5.3 to 1.5.10 in /website ( #11723 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-26 12:05:08 +08:00
Reinhard-PTV
f0fd94441f
Support validation for arrays for JavaJaxRS and a test to validate the fix ( #11709 )
2022-02-26 10:58:06 +08:00
Tomas Bjerre
d20a32f1f7
fix: avoid generic NPE when refering to missing schema ( #11718 )
2022-02-26 10:57:29 +08:00
dependabot[bot]
d1708294c2
Bump actions/setup-dotnet from 1 to 2 ( #11722 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 1 to 2.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
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-02-26 10:56:22 +08:00
Shawn Kovalchick
258b6052f9
Suppress double double quotes when generating query parameters ( #11627 )
2022-02-26 01:15:16 +08:00
Adam Hynes
8b74053c7c
[kotlin-spring] fix #9902 use coroutine Flow for arrays in delegate when reactive=true ( #11695 )
...
* [kotlin-spring] fix #9902 use flow for arrays in delegate
* [kotlin-spring] fix #9902 only use flow for arrays in delegate for bodyParams
2022-02-26 00:58:36 +08:00
William Cheng
2ff8bd9f32
comment out go-gin-api-server test
2022-02-25 20:45:04 +08:00
koudenpa
aa63ea09f8
Fix Perl client header params ( #11713 )
...
* Fixed perl client header construction
* update perl-petstore sample
2022-02-25 20:43:36 +08:00
William Cheng
2daa7391e0
update polly to newer version 7.2.3 ( #11714 )
2022-02-25 19:13:37 +08:00
Sergii Baitala
237706df64
[cpp-restsdk] Change build folder structure to match include folder structure in installed client ( #11487 )
...
* change source folder structure
* fix importMapping
2022-02-24 14:35:59 +08:00
Reinhard-PTV
c5213e3b5e
Support arrays within deepobjects ( #11699 )
2022-02-24 13:21:59 +08:00
William Cheng
ae86945653
Add test for RFC3999DateFormat clone method ( #11706 )
...
* add test for RFC3999DateFormat clone method
* better comment
2022-02-24 13:15:07 +08:00
Chris White
d153134dec
Fixed RFC3999DateFormat clone NPE ( #11705 )
2022-02-24 12:29:23 +08:00
Kuan-Yin Chen
ab63786610
[Python] remove default content-type in the request ( #10782 )
...
* remove default content-type in the request
* add remove default content-type test
* fix duplicate content type
* update sample
* add missing params
* update sample
* only assign content type if exist
* update sample
* update sample
* format code
* update sample
2022-02-24 12:08:49 +08:00
Jean-François Côté
7bda4734e6
Fix sonarqube warnings / code smells from the generated code. ( #11702 )
2022-02-24 11:07:19 +08:00
Bruno Coelho
266cd5de0d
[swift5][client] remove apiResponseQueue in the clients that don't have any impact ( #11698 )
2022-02-24 01:37:33 +08:00
sullis
6e7c39e64f
validate pom.xml files ( #11672 )
2022-02-23 16:38:25 +08:00
William Cheng
16457d0921
test spring-boot-defaultInterface-unhandledException in github workflow
2022-02-23 16:19:37 +08:00
Bernhard Danecker
182fe9370e
[Java][Spring] fix unhandledException not working in combination with… ( #9879 )
...
* #4393 fix unhandledException not working in combination with skipDefaultInterface
* generate samples
2022-02-23 16:11:18 +08:00
William Cheng
df39875502
fix buils warning in java native client ( #11688 )
2022-02-22 17:04:14 +08:00