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
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
William Cheng
872199974d
add java spring technical committee
2022-02-22 00:11:01 +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
bdb037cce1
kotlin 1.6.10 ( #11673 )
2022-02-21 14:26:59 +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
c8f075de51
jackson 2.13.1 ( #11669 )
2022-02-20 21:46:14 +08:00