William Cheng
0e8d997bf6
[rust-client]: fix for collectionFormat=multi ( #15626 )
...
* [rust-client]: fix for collection format multi
* update rust samples
---------
Co-authored-by: Gorka Kobeaga <gorka@kobeaga.eus>
2023-05-24 15:45:00 +08:00
Stephan Strate
9890f076a9
[kotlin-server] add support for jakarta ee namespace ( #15593 )
2023-05-24 08:44:39 +01:00
William Cheng
48ef91acc4
[python] Add test for nullable property with pattern ( #15625 )
...
* add test for nullable property with pattern
* update samples
2023-05-24 15:13:53 +08:00
George
5b5cb1f7e0
[groovy] support enum generation in groovy client ( #15619 )
...
* support generation of enums for groovy
* add custom json generator for groovy
* add nestet enums in groovy templates
* add indent for nested Groovy enums & fix compilation errors in Groovy ApiUtils
* save auto generated samples&docs for groovy
2023-05-24 15:12:59 +08:00
Tiffany Marrel
358397fe3f
[rust] fix use of isBasic condition ( #15532 )
2023-05-24 14:43:06 +08:00
Huan-Cheng Chang
1a483b2c9a
fix variable name ( #15623 )
...
Signed-off-by: Huan-Cheng Chang <changhc84@gmail.com>
2023-05-24 14:17:41 +08:00
Tiffany Marrel
f5903bc391
[swift5] fix use of isBasic condition ( #15613 )
2023-05-23 14:07:48 +01:00
William Cheng
833f649768
[Kotlin] minor enhancements, remove KotlinServerDeprecatedGenerator ( #15608 )
...
* better code foramt, add library creator
* remove kotlin server deprecated generator
2023-05-23 13:45:10 +08:00
Stefan Koppier
9358ab9d1d
[kotlin] New 'jvm-spring-webclient' library ( #15568 )
...
* Added library 'jvm-spring-webclient' to Kotlin client generator
* Reran all generators and generated docs
* Changed target of kotlin-jvm-spring-webclient sample from 2_0 to 3_0
* Added build of kotlin-jvm-spring-webclient to github workflow
2023-05-23 11:34:52 +08:00
devhl-labs
5299935c20
[csharp-netcore] Removed .netcore 3.1 ( #15605 )
...
* removed .netcore 3.1
* dont use .net standard for test package
2023-05-23 10:39:06 +08:00
Tiffany Marrel
cbcf3d36f6
[Java] [Kotlin] ( #14876 ) fix use of isBasic conditions - do not use HttpBearerAuth (or HttpBasicAuth) for other http auth methods (such as http signature auth or custom schemes) ( #15220 )
...
* remove http signature from test yaml when not supported
* do not use HttpBearerAuth for signature auth or other unsupported http auth method
ignore unsupported http auth method unless generated code would not compile (in which case, an exception is thrown)
* [Java] fix use of isBasic condition
* [kotlin] fix use of isBasic condition
2023-05-22 16:08:08 +08:00
Tiffany Marrel
216e2c45ff
[dart] fix use of isBasic condition ( #15523 )
2023-05-22 16:07:37 +08:00
martin-mfg
ad5cc827f0
remove fullJavaUtil ( #15033 )
2023-05-22 14:40:35 +08:00
devhl-labs
2af661d5b0
used default cancellation token ( #15594 )
2023-05-22 12:53:18 +08:00
Rustam
7881482161
[Ktor] Update generator to latest Ktor version #14061 ( #14296 )
2023-05-21 23:11:01 +08:00
William Cheng
5018d3c131
Update to JDK11 ( #15553 )
...
* update to jdk11, fix tests
* update workflow to use jdk11 instead
* update travis, circleci build
* fix test failure, update CI
* skip mvn install in appveyor
* add windows tests
* fix workflow
* remove log level
* add timeout
* sleep more
* skip tests
* sleep more
* only skip tests
* test with jdk11 only
* fix gradlew
* remove skip tests
* start server after build
* update gradle version
* more time to start server
* update to 420
* comment out build
* update
* update
2023-05-21 16:22:44 +08:00
William Cheng
6142315bef
Revert "fix#14119 property generateApis=false not working ( #14126 )" ( #15588 )
...
This reverts commit be9f1b6e4417b490a464e1e77e4c795f1667a652.
2023-05-21 15:58:21 +08:00
Stefan Koppier
08bb0f42fe
Fixed additional property omitGradleWrapper for kotlin generator ( #15584 )
2023-05-20 23:29:24 +08:00
Tiffany Marrel
e7039f434e
[cpp C++] fix use of isBasic condition ( #15535 )
2023-05-20 20:13:04 +08:00
Tiffany Marrel
89e4b24295
[Ada] [Java] fix Codegen copies ( #15513 )
...
* fix incomplete codegensecurity copies
* refactoring
2023-05-20 20:12:18 +08:00
Tiffany Marrel
3e10c5dbcf
[bash] fix use of isBasic condition ( #15521 )
2023-05-20 20:11:26 +08:00
Tiffany Marrel
e83640c836
[perl] fix use of isBasic condition ( #15524 )
2023-05-20 20:09:39 +08:00
Tiffany Marrel
7eeb7f6ed2
[PHP] fix use of isBasic condition ( #15520 )
2023-05-20 20:09:18 +08:00
Tiffany Marrel
b7a9373233
[powershell] fix use of isBasic condition ( #15525 )
2023-05-20 20:08:37 +08:00
Tiffany Marrel
9d6f80a7cf
[android] fix use of isBasic condition ( #15528 )
2023-05-20 20:08:18 +08:00
Tiffany Marrel
b7546888d1
[eiffel] fix use of isBasic condition ( #15533 )
2023-05-20 20:07:48 +08:00
Tiffany Marrel
2d8ec8b008
[xojo] fix use of isBasic condition ( #15526 )
2023-05-20 20:06:57 +08:00
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
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
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
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
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
aa0d637631
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator
2023-05-17 00:49:41 +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
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