18642 Commits

Author SHA1 Message Date
William Cheng
9c968e8bae Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator 2023-05-17 00:50:51 +08:00
Tiffany Marrel
b35ffd3c37
add missing security schemes to new generator README template (#15536) 2023-05-17 00:50:22 +08:00
William Cheng
aa0d637631 Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator 2023-05-17 00:49:41 +08:00
Tiffany Marrel
00676870a3
add HTTP signature to SecurityFeature (#15542) 2023-05-17 00:48:58 +08:00
Jean-François Côté
842ca3db69
Fix warning when building because of the missing documentation (#15543) 2023-05-17 00:44:58 +08:00
Tiffany Marrel
63ac3e1039
[Spring] fix use of isBasic condition (#15530) 2023-05-16 16:37:20 +03:00
William Cheng
1210229e36 Merge branch 'version-bump' of https://github.com/devhl-labs/openapi-generator 2023-05-16 17:20:52 +08:00
William Cheng
0d1f562d13 update c++ samples 2023-05-16 17:20:46 +08:00
Super Genius
87ea870f03
Update modelbase-header.mustache (#15453)
Fixes warning in ModelBase.h

warning: loop variable 'jitem' creates a copy from type 'const web::json::value' [-Wrange-loop-construct]
2023-05-16 17:13:59 +08:00
Sylvain Joubert
3a172c3753
[C++][Pistache] Add missing 'override' on virtual methods (#15469)
This is following #15279
Marking those methods 'override' should avoid producing
'-Winconsistent-missing-override' warnings or similar.
2023-05-16 17:13:34 +08:00
Sylvain Joubert
48d257b5c9
[C++][Pistache] Generate empty JSON object instead of a null value (#15468) 2023-05-16 17:05:44 +08:00
Tiffany Marrel
016507cf5c
[javascript] fix use of isBasicBasic and isBasicBearer conditions (#15522) 2023-05-16 15:25:18 +08:00
William Cheng
1c6decb394
minor enhancements to the aspnetcore server generator (#15518) 2023-05-16 15:24:48 +08:00
Jean-François Côté
edad90e794
Bugfixes/12952 fix newtonsoft using (#15515)
* Fix #12952: Handle useNewtonsoft parameter correctly
Next commit will have all modified samples.

* Fix #12952: Add generated samples

* Fix #12952: Add missing files
2023-05-16 14:41:51 +08:00
Andrii Serkes
fbf42de200
Fix JsonNullable issue for Helidon generators (#15423)
* fix JsonNullable issue

Signed-off-by: aserkes <andrii.serkes@oracle.com>

* update samples

Signed-off-by: aserkes <andrii.serkes@oracle.com>

* update samples, refactoring

Signed-off-by: aserkes <andrii.serkes@oracle.com>

* update samples, refactoring

Signed-off-by: aserkes <andrii.serkes@oracle.com>

* update samples

Signed-off-by: aserkes <andrii.serkes@oracle.com>

---------

Signed-off-by: aserkes <andrii.serkes@oracle.com>
2023-05-16 14:34:37 +08:00
William Cheng
6d56a1911e add new file 2023-05-16 14:32:52 +08:00
William Cheng
5ffa233dfe update asciidoc samples 2023-05-16 14:18:14 +08:00
William Cheng
1c56b07634 update c# samples 2023-05-16 14:17:42 +08:00
Furer Alexander
8b64fa54b2
Update index.mustache (#15481)
set toc level to 4 (accordingly to generated layout)
2023-05-16 14:06:57 +08:00
devhl-labs
25620e7df8
removed extra line break (#15507) 2023-05-16 14:05:53 +08:00
devhl-labs
cc1226c0db
[csharp-netcore] Zero based inner enum sample (#15506)
* added to the sample

* build samples again
2023-05-16 14:05:17 +08:00
William Cheng
c5a1dbecfb
[openapi-normalizer] enable some rules by default (#15501)
* enable certain normalizer rule by default

* minor fix

* better error handling

* update doc
2023-05-16 14:04:52 +08:00
William Cheng
d02679b5b6
rename method to avoid code analysis error (#15508) 2023-05-16 13:59:20 +08:00
William Cheng
01ed5975e1
rename python-nextgen to python (#15504) 2023-05-16 13:54:07 +08:00
martin-mfg
dd6ccaa84f
import @Valid in Spring delegates (#15330) (fix #15213) 2023-05-15 14:55:21 +03:00
Oleh Kurpiak
54cb33c6a1
[Spring] remove deprecated annotation from no-args constructor (#15512) 2023-05-15 14:13:18 +03:00
zaenk
66caaf9a33
[kotlin-spring] interfaceOnly=true flag skips spring-boot plugin repackage goal (#15495)
As interfaceOnly=true not generates main class the repackage goal for the artifact fails.

This change applies the same template as used in JavaSpring or in kotlin-spring spring-cloud library.
2023-05-15 11:52:55 +01:00
William Cheng
b6b888302e use go-petstore.yaml in debugging test 2023-05-14 23:06:20 +08:00
William Cheng
f0519eb934
Fix Go client tests (#15505)
* fix go tests

* more fixes

* fix mock
2023-05-14 21:17:48 +08:00
devhl-labs
fd20632ba1
[csharp] Changed enums to start from 0 (#15503)
* zero based enums

* changed locale
2023-05-14 16:35:54 +08:00
William Cheng
780d266fe1
Decommission python client generator (#15486)
* decomission python client generator

* udpate

* update doc
2023-05-14 16:33:13 +08:00
devhl-labs
cc2dc65496
fixed the order to match the constructor (#15500) 2023-05-13 10:45:03 +08:00
Ween Jiann
78bffff8f3
[Go] Update API naming to follow Golang standard pkg (1 line change) (#15331)
* Add apiNameSuffix to AbstractGoCodegen

* Regenerate files

* Update tests

* Regenerate files

* Update test files

* Regenerate for CI test

* Regenerate for CI test

* Remove some docs

* Add files back
2023-05-13 09:40:26 +08:00
Beppe Catanese
aeecd9cc26
Correct script in PULL_REQUEST_TEMPLATE.md (#15480) 2023-05-12 15:03:22 +08:00
William Cheng
3371e883ab
Decommission python-legacy, python-prior client generators (#15475)
* decommission python-legacy, python-prior client generators

* update tests

* update doc
2023-05-12 13:46:39 +08:00
Noor Dawod
c84b949df1
Encode a Set in toJson() properly (#15435)
* Convert `Set` to `List` in `toJson()` for properly encoding a set.

* Generate samples code.

* Convert to List before encoding in `toJson()`.

* Add `!` for nullable properties.
2023-05-11 17:40:41 +08:00
martin-mfg
e152799569
[JAVA] fix "text/plain" with charset specifications (#15399) 2023-05-11 16:47:42 +08:00
devhl-labs
977de5b324
moved deserialization to template (#15474) 2023-05-11 16:44:37 +08:00
Bodo Graumann
fc71f98bed
[typescript] Add missing types field to export declaration (#15403)
* Add types to exports in package.json

* Regenerate and build petstore samples
2023-05-11 09:59:43 +02:00
William Cheng
4384198cb1 update README with v7.0.0 2023-05-11 10:46:55 +08:00
William Cheng
f8e15f1f96 Merge remote-tracking branch 'origin/7.0.x' 2023-05-11 10:43:37 +08:00
William Cheng
7f8b853f50
Prepare 6.6.0 release (#15466)
* prepare 6.6.0 release

* update samples
v6.6.0
2023-05-11 10:01:36 +08:00
William Cheng
1d2d56ab65 Merge remote-tracking branch 'origin/master' into 7.0.x 2023-05-10 17:20:38 +08:00
William Cheng
bb8098a66f add --quite to mvn cmd in travis.ci 2023-05-10 17:17:08 +08:00
William Cheng
edc589ac81 update doc 2023-05-10 17:08:48 +08:00
Jérôme Tama
6e747259ae
Initial OIDC support (#15417)
* Initial OIDC support

* Removes 'println'
Changes OIDC to OpenIdConnect
Adds generated files

* fix rebase errors
2023-05-10 16:51:37 +08:00
William Cheng
9ace780eac update samples 2023-05-10 15:14:29 +08:00
William Cheng
0c3460f95b Merge remote-tracking branch 'origin/master' into 7.0.x 2023-05-10 15:00:56 +08:00
Tiffany Marrel
8a6c708884
[Java] Cleanup documentation (#15300)
* [Java] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [Java] fix anchor links in documentation
2023-05-10 14:14:44 +08:00
Tiffany Marrel
f9937e77d6
[csharp C#] cleanup documentation (#15305)
* [C# csharp] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [C# csharp] fix anchor links in documentation
2023-05-10 14:11:43 +08:00