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
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
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
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
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
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
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
df39875502
fix buils warning in java native client ( #11688 )
2022-02-22 17:04:14 +08:00
Gustavo De Micheli
f59c07b24a
Add Model Docs to scala-akka generator as defined in its README ( #11684 )
...
Co-authored-by: Gustavo De Micheli <gustavo.de.micheli@lunatech.com>
2022-02-22 16:38:36 +08:00
Sorin Florea
7dcfe62dee
Properly encode exploded query params in url ( #11682 )
2022-02-22 16:33:36 +08:00
방진영
79970228e6
rollback curl_list_free keyword ( #11677 )
2022-02-22 16:27:34 +08:00
Karsten Thoms
735dae41a5
[ #11323 ] Fixed wrong clearing of CodegenModel#hasEnum field ( #11653 )
...
A CodegenModel's hasEnum property is set in addVars:
cm.hasEnums = true;
This state was cleared afterwards again.
As one of its results the import for @JsonValue was not added for the model class in the Spring code generator, where 'model.hasEnums' was evaluated to false where it should be true.
2022-02-21 23:19:08 +08:00
William Cheng
df05e6f4bc
Update parser to 2.0.29 ( #11388 )
...
* update parser to 2.0.29
* better handling of null in dereferencing
* update parser to 2.0.30
* update core to newer version
* add new files
* rollback to previous stable version
* remove files
* Fixes for python-experimental NullableShape component
Co-authored-by: Justin Black <justin.a.black@gmail.com>
2022-02-21 18:37:52 +08:00
sullis
636e87568d
update ArchUnit rules ( #11671 )
2022-02-20 19:26:04 -08:00
sullis
aec4a12cae
archunit 0.23.0 ( #11670 )
...
https://github.com/TNG/ArchUnit/releases/tag/v0.23.0
2022-02-20 19:02:00 -08:00
sullis
4361790332
[java] jaxrs swagger-core 1.6.5 ( #11668 )
2022-02-20 21:46:34 +08:00
sullis
c5745f8d72
[java] jersey 2.35 ( #11661 )
2022-02-20 11:12:55 +08:00
sullis
3c8f249c6c
[java] logback 1.2.10 ( #11659 )
...
Latest version of logback
https://logback.qos.ch/news.html
2022-02-19 18:52:39 +08:00
sullis
4a7f46cba5
[java] openapi-generator-maven-plugin: add jaxrs-jersey2 test ( #11658 )
2022-02-19 18:50:50 +08:00
William Cheng
3a119b9cff
Add tests for Aspnet 6, minor bug fixes ( #11663 )
...
* add tests for aspnet core 6
* bug fix, update samples
2022-02-19 18:46:38 +08:00
William Cheng
2918b8706e
better code format in c#, aspnet generators ( #11662 )
2022-02-19 14:40:12 +08:00
Felix Winterhalter
c161358aa8
[Csharp][aspnet] Aspnet 6.0 Support ( #10619 )
...
* Aspnetcore V6 Support
* docs: update-docs
2022-02-19 13:52:52 +08:00
William Cheng
d530e1baec
minor enhancement to code format in go client ( #11657 )
2022-02-19 13:11:28 +08:00
William Cheng
d030ac1b50
better code format in go generators ( #11656 )
2022-02-19 11:41:19 +08:00
Aaron Pittenger
0d4dba13f6
[Python] python regex validation generation ( #11525 )
...
* fix: python regex validation generation
* docs: updated comment to be more specific
* fix: check the right value used when generating the regex
2022-02-17 21:11:39 -08:00
Paul-Etienne François
d45cb6511f
[Java][Native] Fix an issue leading to an altered String parameter when consuming formatted strings like XML ( #11640 )
...
* Fix the generated request builder when using a string body parameter
* Update the samples according to the fix for #11638
2022-02-18 11:50:15 +08:00
moznion
d6a97b0c39
Remove dummy variable declaration for context.Context from generated go code ( #11641 )
...
Originally, this dummy declaration was needed because there was the
possibility of the generated code doesn't use `context.Context` and then
if it imported that package, go compiler complains that and makes an error.
ref: 3ed1aa8e79/modules/swagger-codegen/src/main/resources/go/api.mustache (L30)
However, now this dummy placement is no longer needed because the
generated code always uses `context.Context`.
Signed-off-by: moznion <moznion@mail.moznion.net>
2022-02-18 11:34:05 +08:00
sullis
9517a9525b
[java] enhance unit tests for JavaJerseyServerCodegen ( #11643 )
2022-02-17 19:24:19 -08:00
William Cheng
1f6b3eb604
Remove go-deprecated generator ( #11645 )
...
* remove go-deprecated generator
* update doc
2022-02-18 11:20:09 +08:00
Rodrigo Cebrián González
03cca89b80
✏️ Fixed typo error on java generator config-help command ( #11644 )
...
Fix the typo error "proeprties" to properties inside the gradleProperties config for java generator
2022-02-18 11:09:00 +08:00
Ran Halprin
1b8dae18b8
typescript-fetch: Support deprecated parameters, operations ( #11523 )
...
Co-authored-by: Ran Halprin <ran@myhippo.com>
2022-02-18 00:47:28 +08:00
Tomáš Čermák
f1ad3a89e6
[Protobuf-Schema] Add enum prefix ( #11548 )
...
* [Protobuf-Schema] Add enum prefix
* [Protobuf-Schema] Documentation updated
* [Protobuf-Schema] Samples updated
2022-02-18 00:32:34 +08:00
William Cheng
6d9e349721
Update kotlin vertx server dependencies ( #11631 )
...
* update kotlin vertx dep to newer versions
* update kotlin to newer version
2022-02-17 19:45:31 +08:00
William Cheng
b979eccf68
Add Github action file to test Java clients ( #11633 )
...
* add github action file to test java clients
* update tests
2022-02-17 15:49:34 +08:00