William Cheng
3c4948ac08
skip client id, secret validation to allow multiple auth schemas ( #13126 )
2022-08-08 01:39:07 +08:00
William Cheng
fb29284a99
improve r regular expression handling ( #13125 )
2022-08-08 00:56:43 +08:00
William Cheng
f287dde875
[R][httr2] better support for OAuth authoriziation flows ( #13123 )
...
* better oauth support in r client
* better comment
* update samples
* remove commented code
* update samples
* fix mustache tag
2022-08-07 21:49:04 +08:00
Linus Klöckner
fca13eb9e9
[csharp-netcore] Form data serialize non-primitive objects ( #12967 )
...
* csharp-netcore: serialize non-primitive objects in form-data
* csharp-netcore: update samples
2022-08-06 21:59:06 +08:00
William Cheng
d3a268924f
better validation for r parameters ( #13119 )
2022-08-06 21:06:39 +08:00
AnaTofuZ
462f927b87
Fix Perl cannot string bind undef ( #13114 )
...
* fix and add perl client tests
* fixed undefined value in Perl
* update perl client sample
* fix test case
2022-08-06 21:05:37 +08:00
William Cheng
35feca98cf
fix test
2022-08-06 16:34:21 +08:00
Krzysztof Łabuś
641d5159eb
C# API Client CancellationToken, Base Validation and Nullable/Required ( #13049 )
...
* Ensure CancellationTokenSource disposal in CSharp clients
* Fixed broken BaseValidate in CSharp models
* Ensure final CancellationToken is used in CSharp API clients
* Ensure EmitDefaultValue true for required properties in CSharp clients
* Regenerated samples
* Fixed broken C# ApiClient.ExecAsync disposable resources
2022-08-06 16:33:18 +08:00
William Cheng
f5900c7015
[R] fix auto-generated doc, add checks for bearer/access token ( #13112 )
...
* update readme to show bearer auth
* fix doc
* fix doc
2022-08-06 16:32:18 +08:00
William Cheng
247574aa0c
fix assignment, clean up tests, use !!! operator ( #13075 )
2022-08-05 14:09:24 +08:00
jiangyuan
72991e6be3
[Java] apache-httpclient serialize support custom contentType ( #13058 )
...
* java http-client multiPartBuilder support custom contentType for textBody
* java apache-httpclient serialize support custom contentType
* modify getContentType method
2022-08-04 00:41:18 +08:00
Thomas Hansen
1e3a39b460
[PHP] Add support for server variables in operations ( #12982 )
...
* [FEATURE] Support for server variables in operations
* [AUTOGENERATED] update samples
* [PHP] Added tests for server variables in operations
2022-08-04 00:15:51 +08:00
Flux Xu
6d1c51c95b
[rust] fix incorrect Cargo.toml generated when supportAsync & withAWSV4Signature are both enabled. ( #13015 )
2022-08-04 00:11:08 +08:00
William Cheng
13d34b9b63
[R][httr2] Fix form parameter support ( #13057 )
...
* fix form parameter support in the r client
* fix query param
* fix form parameters
2022-08-03 23:45:12 +08:00
William Cheng
aa1f6276f3
[R][httr2] fix HTTP header ( #13066 )
...
* add test for header parameters
* fix header parameter in r httr2 client
2022-08-03 15:05:39 +08:00
William Cheng
e0fca517cc
update samples
2022-08-03 11:56:36 +08:00
William Cheng
d8771de9c1
fix query param, fix spec ( #13065 )
2022-08-03 11:49:34 +08:00
William Cheng
4635dda518
[R] Add httr2 support (work in progress) ( #13005 )
...
* add httr2 support to r client gen
* fix headers
* add accepts, content-types
* update samples
* fix req
* update samples
* various fixes
* add data file test
* fix streaming, add tests
2022-08-01 00:58:19 +08:00
William Cheng
6b6403b2bf
enhance api exception in r client ( #13046 )
2022-07-31 16:20:39 +08:00
William Cheng
054264df90
[R] refactor the client to prepare additional HTTP library support ( #13045 )
...
* remove httr functions from api files
* fix comments
2022-07-31 10:52:57 +08:00
Yohei Kitamura
6a3226d004
[Ruby] Remove configuring verbose option from Faraday template ( #13037 )
2022-07-30 15:30:10 +08:00
HappyFeedFriends
79c5091de4
[Typescript] Fix generated type for files ( #12831 )
...
* fix file types
description problem in: https://github.com/OpenAPITools/openapi-generator/issues/12744
* fix: generate
2022-07-28 16:53:54 +02:00
William Cheng
e5e4e8fc07
throw exception if username, password is not set in http auth in r client ( #13035 )
2022-07-28 17:06:52 +08:00
William Cheng
c905760898
fix query, header params ( #13034 )
2022-07-28 16:31:12 +08:00
uesyn
bc65be4c9a
[typescript] typescript client generator supports import mapping ( #12957 )
...
* support import mapping
* Remove unused imports
* Remove unused variable
* Not to clear importMapping
* Re-generate samples
* Use same model import path everywhere
* Move import mapping logic from toModelImport method
Co-authored-by: Bodo Graumann <mail@bodograumann.de>
2022-07-27 17:09:27 +02:00
Pierre-Quentin Warlot
6226dc2848
fix issue content-type default charset ( #13009 )
2022-07-27 19:01:45 +08:00
William Cheng
e811d6bbe2
prefix local variables in api functions in r client ( #13018 )
2022-07-26 19:20:23 +08:00
William Cheng
adf7062e63
add support for accept, content-type headers in r client ( #13017 )
2022-07-26 17:19:23 +08:00
Bruno Coelho
87dc75780a
[kotlin][client] add support for unknown default case with Kotlinx Serialization ( #12930 )
...
* [kotlin][client] Kotlinx Serialization cleanup
* [kotlin][client] Kotlinx Serialization cleanup
* [kotlin][client] add support for unknown default case with Kotlinx Serialization
* [kotlin][client] add support for unknown default case with Kotlinx Serialization
* [kotlin][client] add support for unknown default case with Kotlinx Serialization
* [kotlin][client] improve Kotlinx Serialization naming
* [kotlin][client] improve Kotlinx Serialization naming
2022-07-26 09:42:19 +01:00
William Cheng
bc98014146
Add auto-generated .swiftformat to Swift clients ( #13002 )
...
* add .swfitformat to swift client
* minor format change
2022-07-26 11:21:53 +08:00
Bogdan Ilchyshyn
96b7d35e97
fixing FetchError to be compatible with esnext ( #13004 )
...
closes #12927
2022-07-24 14:09:27 +02:00
William Cheng
b6ca40031a
fix issue when discriminator property is an enum string ( #13001 )
2022-07-24 17:55:08 +08:00
Thomas Hansen
7c7ac2f0d3
[PHP] double curly braces bugfix ( #12999 )
...
* [PHP] Small bugfix: fix punctual double curly bracket usage, to make it consistent with the code around
* [AUTOGENERATED] update samples
2022-07-24 09:18:48 +08:00
Ruben Fiszel
0b31bd4705
[Typescript] Support text/plain by ObjectSerializer.parse ( #12888 )
...
* [Typescript] Support text/plain by ObjectSerializer.parse
* generate-samples
* update samples
* clean up spaces
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-07-23 20:38:36 +08:00
William Cheng
5cf1ba3841
add additonal dependencies for xml in resttemplate ( #12995 )
2022-07-23 14:06:09 +08:00
William Cheng
ee8566260c
[JAVA] Generated api client doesn't work for plain text body types ( #12993 )
...
Co-authored-by: Ilya Kuchmin <kuchmin@haulmont.com>
2022-07-23 13:07:26 +08:00
Mauro Valota
ea7a319a65
[java] fixed pojo template for nullable fields ( #12630 )
...
* [java] fixed pojo template for nullable fields
* regenerated samples
2022-07-23 11:19:48 +08:00
Oleh Kurpiak
9f2f36c4fb
[Java][WebClient] return ResponseSpec to manually control response handling ( #12843 )
2022-07-23 10:20:06 +08:00
Thomas Hansen
c0ad6357df
[PHP] ObjectSerializerTest: add tests for ObjectSerializer::deserialize() associative arrays bugfix ( #12989 )
...
* [PHP] ObjectSerializerTest.php: code cleanup
* [PHP] ObjectSerializerTest.php: added tests for ::deserialize() associative arrays bugfix - related to PR #12849
2022-07-23 10:07:21 +08:00
Thomas Hansen
219b32b543
[PERL] Fix bug on test script ( #12983 )
2022-07-23 08:56:24 +08:00
Bruno Coelho
c03cf178c9
[swift][client] reduce unnecessary public api ( #12975 )
...
* [swift][client] reduce unnecessary public api
* [swift][client] reduce unnecessary public api
2022-07-23 08:39:34 +08:00
William Cheng
e4b268613c
[R] fix assignment, better doc ( #12979 )
...
* better code format
* fix doc comment, remove blank line
* ignore .lintr in rbuildignore
2022-07-22 13:08:01 +08:00
William Cheng
6e6c2f9a0e
add http basic test in r client ( #12978 )
2022-07-22 10:01:48 +08:00
William Cheng
f26985c239
add http bearer auth support to R client ( #12974 )
2022-07-22 09:44:05 +08:00
Ry Bobko
1b6069f984
[Typescript-Angular] Handle runtime-generated injected BASE_PATH in Typescript-Angular services ( #12936 )
...
* handle array of strings for basePath
* handle string[] for basePath when generated from APP_INITIALIZER
* updated samples
* updated samples
2022-07-21 16:41:31 +02:00
Paul Hagedorn
298ccfcfd8
[typescript-nestjs] Upgrade to NestJS v8 ( #12937 )
...
* feat(typescript-nestjs): upgrade to nestjs v8
Set default nestVersion to 8.0.0
* chore(typescript-nestjs): create typescript-nestjs-v8-provided-in-root.yaml and add it to samples.json
* chore(typescript-nestjs): generate samples
* docs(typescript-nestjs): generate docs
* chore(typescript-nestjs): re-generate samples
2022-07-21 13:41:32 +02:00
William Cheng
eeb1711f9f
Add support for string response deserialization ( #12964 )
2022-07-21 15:18:59 +08:00
William Cheng
c26e19cbc0
Revert "Add support for string response deserialization ( #12910 )"
...
This reverts commit b8524bee232a55e28693354ab543b91e3f65629a.
2022-07-21 12:58:46 +08:00
Emanuele Saccomandi
b8524bee23
Add support for string response deserialization ( #12910 )
...
* Add support for string response deserialization
* updated samples
* updated samples
* realigned to master
* fix: errors were not getting thrown
* updated samples
* fix: errors were not getting thrown
* updated samples
2022-07-21 12:45:50 +08:00
Martin Delille
cf58ac0583
[cpp-qt-client] Minor fixes ( #12951 )
...
* foreach => for
* Fix PetStore.pro
* Whitespace formatting
2022-07-21 12:03:22 +08:00