William Cheng
35f933b27f
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-12 17:11:35 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00
William Cheng
60c4c88a74
update samples
2021-07-06 15:36:48 +08:00
Łukasz Leszczuk
efe0e1d7a0
Fix cancellation token usage for async calls in csharp-netcore. ( #9841 )
2021-07-05 13:11:45 +08:00
William Cheng
cd2bd84bb6
update samples
2021-06-29 20:37:09 +08:00
Ghufran Zahidi
90233d6653
conditional serialization add only those property which user wants to… ( #9807 )
...
* conditional serialization add only those property which user wants to configure.
* fixed the samples
* fixed the sample String to string issue.
* fixed the sample String to string issue.
* updated the sample
* Added unit test for conditional serialization
* update samples
* remove trailing spaces, update samples
* remove files
* add back files
* build the project in the ci
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-06-29 20:28:47 +08:00
William Cheng
939b5f6bb8
update samples
2021-06-21 11:24:46 +08:00
Prajon Shakya
015886fded
[csharp][netcore] Update type "String" to "string" for consistent type ( #9713 )
...
* Updated 'String' to 'string' for consistent use of keyword
* Build project and update samples for csharp-netcore
2021-06-19 12:42:33 +08:00
Blackclaws
e09409fbce
Handle Deserialization Asynchronously ( #9424 )
2021-05-26 00:12:12 +08:00
Blackclaws
696bcb3e85
[csharp][httpclient] Remove noncompliant post behaviour ( #9427 )
...
* Remove behaviour that does not 1:1 represent spec
* Update samples
2021-05-21 14:50:42 +08:00
Blackclaws
2c4e79f45c
[csharp][httpclient] Introduce FileParameter as an abstraction ( #9426 )
...
* Introduce FileParameter as an abstraction
* Update Samples
* Add new file to samples
* Fix hardcoded package name
* Fix hardcoded package name, import FileParameter in Model
* Remove unneccesary warning
2021-05-21 14:49:33 +08:00
William Cheng
5e29d61639
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-05-13 18:44:58 +08:00
William Cheng
be214dc349
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-05-07 10:15:12 +08:00
William Cheng
560bf7e080
v5.1.1 release ( #9421 )
2021-05-07 09:57:19 +08:00
Luca Mazzanti
2f2e250ab2
[csharp-netcore][httpclient] Issues managing error statuses ( #9389 )
...
* [csharp-netcore] correct rawContent read
* [csharp-netcore] avoid deserialize result when in error
* [csharp-netcore] avoid aggregate exceptions
* Updated samples
* Updated samples
* Refactored PetApiTest
* Updated samples
* Fixed test issues
* reverted previous commit
2021-05-07 07:23:53 +08:00
Luca Mazzanti
e9fa936886
[csharp][netcore-httpclient] Refactor of constructors: removed obsolete attribute ( #9373 )
...
* Removed obsolete attribute on constructors without HttpClient prameter
* add clickable link in the tooltip
* update doc, add tests
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-05-04 23:58:20 +08:00
William Cheng
3e58b0908c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-04-28 18:08:24 +08:00
William Cheng
37eaf70755
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-04-28 17:48:21 +08:00
Luca Mazzanti
3929afff7d
[csharp][netcore-httpclient] Refactor of constructors ( #9145 )
...
* Refactor on constructors
Updated samples
Fixed a bug of previous commit
Refactor on constructors
* Fixed indentation in source code
* Updated samples
* Marked constructors with obsolete
* Updated obsolete constructors messages
* Updated samples
2021-04-16 22:03:07 +08:00
William Cheng
14c7f39c2b
[C#][netcore] Add multiple frameworks support ( #9196 )
...
* add multiple frameworks support
* test in appveyor
* update samples
2021-04-09 21:25:56 +08:00
William Cheng
917b358e27
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-04-01 09:25:19 +08:00
William Cheng
de5651adac
[C#] fix integer enum without format ( #9136 )
...
* fix inner enum integer without format
* add line break, update samples
* remove line break
* add line break
* update SHA
2021-03-31 15:11:10 +08:00
Luca Mazzanti
e1ef00903e
[csharp][netcore-httpclient] Reuse HttpClient, Allow use of external HttpClient. Patch to previous PR. ( #9109 )
...
* [csharp][netcore-httpclient] Reuse HttpClient, Allow use of external HttpClient.
* Updated samples
* Removed local variables no more useful
* Added InvalidOperationException when used a configuration not supported for the constructor
* Updated samples
2021-03-30 18:10:08 +08:00
William Cheng
a35e9b590c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-30 13:18:35 +08:00
William Cheng
99ddd6d2f2
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-30 11:41:09 +08:00
William Cheng
a078b1d826
Merge branch '5.2.x' into 6.0.x
2021-03-29 12:56:33 +08:00
Blackclaws
45654d28ed
[csharp][netcore-httpclient] Reuse HttpClient, Allow use of external HttpClient, Fix Socket Exhaustion, Alternative With Constructor Injection ( #9085 )
...
* Do not allow not reusing HttpClient, fix socket exhaustion issues, add Readme on how to add your own client
* Add Readme change
* Alternative version via constructor injection
* Update samples
* Update usage in ExecAsync
* Clean Constructor
* Add Warning to constructor, Update Samples
* Add warning, fix last constructor, update samples
* Change client to private in constructor injection
* Add disposable to ApiClient
* Do not dispose handler if we did not create it
* Update samples
* Add disable switch and update samples and documentation
2021-03-27 15:20:58 +08:00
William Cheng
16b141e402
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-26 10:20:36 +08:00
William Cheng
402cf9a3a2
Fix integer enum in csharp generators ( #9035 )
...
* fix integer enum in csharp generators
* add comment
2021-03-25 21:30:42 +08:00
Blackclaws
0f981fffc3
[csharp][httpclient] Fix accidental use of c# 8 language feature ( #9037 )
...
* Fix c# 8 language feature being present
* Change config to refer to netstandard 2.0
* Update samples
2021-03-24 00:33:13 +08:00
William Cheng
d438d797da
[C#][netcore] Fix model, property name check ( #9049 )
...
* fix model, property name check in c# generator
* remove file
* remove file
* specify name
2021-03-23 20:00:26 +08:00
William Cheng
97a3fc4b8e
[C#][netcore] Set EmitDefaultValue to true for boolean property ( #9042 )
...
* set EmitDefaultValue to true for boolean property
* update samples
2021-03-23 10:43:35 +08:00
William Cheng
95d356ab6b
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-21 01:10:46 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
Blackclaws
88fa5d70d7
[csharp][csharp-netcore] Fix Fileupload for Request Bodies for RestSharp and HttpClient libraries ( #9010 )
...
* Fix Request Body File Upload for RestSharp and csharp-netcore
* Update Samples
* Fix missing using and update samples
* Enable upload test
* Fix form data and file upload handling for httpclient, update samples
2021-03-20 01:01:21 +08:00
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
William Cheng
ed6a7e7656
better code format in C# netcore client ( #8939 )
2021-03-11 21:59:48 +08:00
William Cheng
f56dd9f59b
remove deprecated restsharp parameter class ( #8933 )
2021-03-10 14:51:23 +08:00
William Cheng
065c524894
[C#][netcore] Fix deserialisation for models with additional properties ( #8912 )
...
* better check for additioanl properties serializer
* fix additional properties check
* use additonal prop serializer with model mappings
2021-03-09 15:15:33 +08:00
William Cheng
1ba323f058
Add tests for array of string serialization ( #8913 )
...
* add tests for array of string serialization
* update test file SHA
2021-03-09 08:53:05 +08:00
Tyler Ballast
f5151de9fc
Add whitespace to SDK documentation where necessary ( #8919 )
...
* Add a space between table title and the line above it to resolve issues when translating markdown to asciidoc
* Regenerate Samples
Co-authored-by: Tyler Ballast <tyler.ballast@reportix.com>
Co-authored-by: tballast <tyler.ballast@gmail.com>
2021-03-08 21:40:54 +08:00
William Cheng
51a19e1c27
[C#][netcore] Call static method without creating instance ( #8889 )
...
* call static method without creating instance
* fix instance
* fix missing equal sign
* skip instance creation
* cast to T
* update httpclient apiclient.mustache
2021-03-07 17:45:14 +08:00
Blackclaws
85fd96a9ce
[csharp-netcore] Make Blazor Webassembly compatible ( #8876 )
...
* Catch exception thrown in Blazor Webassembly when trying to access cookies
* Update samples
2021-03-06 15:50:48 +08:00
William Cheng
ddc38b27bb
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-05 00:06:38 +08:00
William Cheng
e18d4b97e0
[csharp-netcore][httpclient] add tests, bug fixes ( #8885 )
...
* add tests to csharp-httpclient petstore
* fix basepath in tests
* fix response headers
* skip file upload test in httpclient
* update samples
* update tech committee
2021-03-04 16:02:31 +08:00
William Cheng
4986ea8c93
update samples
2021-03-04 00:45:20 +08:00