19065 Commits

Author SHA1 Message Date
Tiffany Marrel
7443c95d48
[lua] fix use of isBasic condition (#15529) 2023-05-20 20:06:34 +08:00
Florian Morgan
f0d439fbce
[kotlin-spring] Fix inheritance compile error because of missing use-site target on annotation (#3596) (#15488) 2023-05-19 10:47:26 +01:00
William Cheng
f5f382c87a
Improve build time (#15566)
* remove java helidon client, server tests (covered in sample tests)

* add new workflow to test java helidon samples

* trigger build

* test jdk 17 only

* Revert "trigger build"

This reverts commit b9528a65889577ea1adba6c1dbafc6b623a55555.
2023-05-19 09:45:43 +08:00
Stephan Strate
2250aae6a6
[kotlin-server] fix bean validation site targets (#14997) 2023-05-18 15:56:03 +01:00
William Cheng
1204662a64 undo changes to petstore.yaml 2023-05-18 16:09:40 +08:00
William Cheng
54c8bf8733
[go-server] Add tests for boolean query parameter (#15563)
* add tests for boolean query parameter

* fix test
2023-05-18 15:39:43 +08:00
William Cheng
bba9815d1e
Add workflow to test builds and Gradle plugin on Windows (#15562)
* add workflow to test builds on windows

* fix gradle
2023-05-18 15:23:21 +08:00
Dmytro Vitiuk
08184086c0
fix typo in go-server codegen (#15557) 2023-05-18 15:18:22 +08:00
devhl-labs
4a5437968f
added OrDefault method (#15551) 2023-05-18 11:22:44 +08:00
William Cheng
d8ed253439 update C# samples 2023-05-18 11:21:16 +08:00
Jean-François Côté
b7dc6ce598
[Aspnetcore] Fix nullable warnings part 1 (#15555)
* Fix nullable errors in attribute and filters

* Add missing samples
2023-05-18 11:14:55 +08:00
Tiffany Marrel
c7d185dda9
[dart][dio] fix features of dart-dio generator (#15537) 2023-05-18 11:02:38 +08:00
Oleh Kurpiak
d60b10826c
[Gradle] add inputSpecRootDirectory for generate task (#15548) (fix #15483) 2023-05-17 09:58:08 +03:00
William Cheng
04b34e7096 update doc 2023-05-17 02:15:24 +08:00
rledisez
44ad6d5eac [go-server] Support min/max/defaults for values (#15185)
* [go-server] Support min/max/defaults for values

Enforce, for the go-server, to check the minimum and maximum values
specified in the openapi description. Also apply the default if the
parameter is not passed.

Fix #14013

* Fix merge conflict

Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>

* Improve UnmarshalJSON implementation

Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>

* Improve default value handling for string

Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>

* Fix suggested changes

* rework option pattern

* add imports based on types/min max values

---------

Co-authored-by: Ween Jiann <16207788+lwj5@users.noreply.github.com>
2023-05-17 01:58:28 +08:00
William Cheng
d3f63caf0b Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator 2023-05-17 01:02:51 +08:00
William Cheng
6a742fe398 update doc 2023-05-17 01:02:45 +08:00
Dmitriy
be9f1b6e44
fix#14119 property generateApis=false not working (#14126) 2023-05-17 01:02:12 +08:00
Beppe Catanese
ab4a05a959
Postman Collection Generator (#15294)
* Add Postman generator

* Add Postman generator doc

* Remove contact data

* Change license data

* Add Postman in samples

* Add Postman in bin/configs

* Commit changed files

* Update Postman doc

* Correct generator connfiguration

* Regenerate docs

* Correct javadoc

* Use File instead of FileReader

* Rename to postman-collection (schema) generator

* Commit regenerated files

* Improve help and Javadoc

* Commit regenerated files
2023-05-17 00:51:53 +08:00
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