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
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
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
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
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
devhl-labs
4a5437968f
added OrDefault method ( #15551 )
2023-05-18 11:22:44 +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
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
Tiffany Marrel
016507cf5c
[javascript] fix use of isBasicBasic and isBasicBearer conditions ( #15522 )
2023-05-16 15:25:18 +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
1c56b07634
update c# samples
2023-05-16 14:17:42 +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
Oleh Kurpiak
54cb33c6a1
[Spring] remove deprecated annotation from no-args constructor ( #15512 )
2023-05-15 14:13:18 +03: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
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
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
devhl-labs
977de5b324
moved deserialization to template ( #15474 )
2023-05-11 16:44: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
Tiffany Marrel
ef5dc1c8a0
[Julia] Cleanup README docs ( #15295 )
...
* [Julia] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Julia] fix anchor links in documentation
2023-05-10 14:10:35 +08:00
Jacob Wang
b4d2c14f12
Update scala versions to 2.13.10 and 2.12.17 ( #15459 )
...
* Update scala versions to 2.13.10 and 2.12.17
* update samples
2023-05-10 01:30:45 +08:00
Tiffany Marrel
c251202869
[Python] cleanup documentation ( #15301 )
...
* [Python] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Python] fix anchor links in documentation
2023-05-09 16:24:56 +00:00
Csaba Kozák
25aba7279a
[kotlin][client] Use Kotlin code style in parameter enum class names ( #15447 )
...
* [kotlin][client] Use Kotlin code style in parameter enum class names
before: MyParam_myOperation
after: MyParamMyOperation
* [kotlin][client] update generated samples
2023-05-09 16:33:30 +01:00
Csaba Kozák
da9ad4a008
[kotlin][client] Small improvements ( #15429 )
...
* [kotlin][client] update Gradle wrapper in generated project
* [kotlin][client] Add @JsonClass(generateAdapter = false) to generated enums when using moshi library
This is needed, so the moshi generated R8 rules will include the enum classes:
https://github.com/square/moshi#enums
* [kotlin][client] Update generated samples
2023-05-09 16:28:54 +01:00
Tiffany Marrel
76fd2a2f66
[Scala] cleanup documentation ( #15304 )
...
* [Scala] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Scala] fix anchor links in documentation
2023-05-09 14:30:28 +08:00
Tiffany Marrel
1443dd9493
[perl] fix documentation of API authorization in README files ( #15356 )
...
align wording across generators
2023-05-09 14:26:30 +08:00
Tiffany Marrel
9cb14aeb8c
[php] fix documentation of API authorization in README files ( #15306 )
...
fix hierarchy level + align wording across generators
2023-05-09 14:25:14 +08:00
Tiffany Marrel
4deaad557e
[Go] fix documentation of API authorization in README files ( #15345 )
...
align wording across generators
2023-05-09 14:24:16 +08:00
Tiffany Marrel
adfb963831
[objc] fix documentation of API authorization in README files ( #15347 )
...
fix hierarchy level + align wording across generators
2023-05-09 14:23:19 +08:00
Tiffany Marrel
55e9f66cae
[JavaScript] fix documentation of API authorization in README files ( #15346 )
...
align wording across generators
2023-05-09 14:22:41 +08:00
Tiffany Marrel
be651e7776
[powershell] cleanup documentation ( #15355 )
...
* [powershell] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [powershell] fix anchor links in documentation
2023-05-09 14:21:09 +08:00
Tiffany Marrel
2b19d5f94d
[Ruby] fix documentation of API authorization in README files ( #15353 )
...
align wording across generators
2023-05-09 14:17:34 +08:00
Tiffany Marrel
e32da0efda
[apex] fix documentation of API authorization in README files ( #15348 )
...
align wording across generators
2023-05-09 14:16:58 +08:00
Tiffany Marrel
63913f2d0a
[c] fix documentation of API authorization in README files ( #15341 )
...
align wording across generators
2023-05-09 14:15:27 +08:00
Tiffany Marrel
ba8ca1e7ac
[R] fix documentation of API authorization in README files ( #15354 )
...
align wording across generators
2023-05-09 14:07:50 +08:00
Jorge Rodríguez Martín
fb059c259c
[BUG][JAVA][restTemplate] ApiClient is not compatible with spring-web 6 Observation API ( #15421 )
...
* ApiClient is not compatible with spring-web 6 Observation API. Field uri is never filled
* Update samples
2023-05-09 14:04:51 +08:00
William Cheng
3cf646cda8
[csharp-netcore] fix back slash in regex ( #15441 )
...
* fix back slash in regex (csharp-netcore)
* undo add pattern test
* update shasum
2023-05-09 13:52:46 +08:00
devhl-labs
7bc10b03d0
[csharp-netcore][generichost] Move deserialization to method ( #15454 )
...
* removed extra line break
* moved deserialization to method
2023-05-09 13:47:15 +08:00