William Cheng
1bff357958
Fix HTTP Signing authentication in C# .net 5 client ( #8645 )
...
* fix issues with http signing in .net 5
* add new files
* remove comment from yaml
2021-02-08 19:22:09 +08:00
William Cheng
3e81876e2c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-06 17:52:32 +08:00
William Cheng
c7fcb39a2d
Prepare v5.0.1 release ( #8627 )
...
* release 5.0.1
* update samples
2021-02-06 16:37:22 +08:00
William Cheng
b7ee885805
[C#][netcore] fix binary response ( #8593 )
...
* fix binary response
* update test file hash
2021-02-04 11:01:44 +08:00
William Cheng
f887441591
update samples
2021-01-28 16:47:09 +08:00
William Cheng
d97717ee24
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-28 15:52:44 +08:00
William Cheng
62eecabfa5
[csharp-netcore] add .Net 5.0 support ( #8467 )
...
* add net5.0 support to csharp-netcore client gen
* update doc
* update samples
2021-01-19 22:38:34 +08:00
William Cheng
25b0cbe2f1
Prepare 5.0.1 snapshot ( #8249 )
...
* update version to 5.0.1-SNAPSHOT
* update samples
* update meta codegen
2020-12-21 17:14:18 +08:00
William Cheng
345b68a107
prepare 5.1.0 snapshot release
2020-12-21 16:35:12 +08:00
William Cheng
d7d5e53f2b
Prepare v5.0.0 release ( #8247 )
...
* update to 5.0.0
* update samples
2020-12-21 13:04:11 +08:00
William Cheng
0be3fe6104
Set skipFormModel to true by default ( #8125 )
...
* set skipFormModel to true by default
* update tests
* regenerate ruby faraday client
* remove inline object spec files
* more clean up on inline object files
* update samples
2020-12-18 23:57:19 +08:00
Ghufran Zahidi
52c63bb325
Fixed the query string for HttpSigning core vs dotnet47 ( #8189 )
...
* Fixed the query string for HttpSigning core vs dotnet47
* updated the sample
* replace the tab with space
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-12-18 12:35:05 +08:00
Sampo Kivistö
d1ea6ac839
[Csharp] Bugfix: Updated all C# templates ToJson method not to conflict reference withmodel properties ( #8087 )
...
* Updated all C# templates ToJson method not to conflict reference with model properties.
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-12-08 17:12:40 +08:00
William Cheng
bcf4f8ade6
[C#] Fix oneOf derserialization with additional properties ( #8057 )
...
* fix oneOf derserializaoneOf deserialization with additonal prop
* fix tests due to better handlding of additional prop
2020-12-04 10:50:26 +08:00
William Cheng
9334909bcd
update samples
2020-11-26 18:44:18 +08:00
David Yee
cf185d559b
Expose JsonSerializerSettings in ApiClient ( #7582 )
...
* Expose JsonSerializerSettings in ApiClient
* Update generated petstore sample
* Add XML comments for SerializerSettings and match new OverrideSpecifiedNames default
* Add GetSerializerSettingsTest
2020-11-26 13:06:53 +08:00
William Cheng
2578ef5e63
Prepare snapshot (v5.0.0) ( #7986 )
...
* Revert "prepare 5.0.0-beta3 release"
This reverts commit 3ebe774df37b43348bac1310a272de53a2d7040b.
* revert to snapshot
* update samples
2020-11-20 19:19:59 +08:00
William Cheng
2715f1371a
Prepare 5.0.0 beta3 ( #7984 )
...
* prepare 5.0.0-beta3 release
* update samples
* remove beta3 from readme
2020-11-20 15:18:58 +08:00
William Cheng
dd26e406b5
Fix duplicated mappedModels ( #7924 )
...
* fix duplicated mapped models
* replace discriminatorExplicitMappingVerbose with legacyDiscriminatorBehavior in comments
* use mappingName for comparison
* improve template
* fix tests
* update comments
* update ts samples
2020-11-20 11:57:48 +08:00
William Cheng
a3a0af7c84
[C#][netcore] Add test for AdditionalProperties in both child and parent ( #7921 )
...
* add test for ap in both child and parent
* add cat test to net47
2020-11-13 21:13:16 +08:00
Ghufran Zahidi
05515040d5
[csharp-netcore]Fixed the null serialization issue for dotnet47 ( #7884 )
...
* Fixed the null serialization issue for dotnet47
* c# codeing style
* Updated the sample for csharp netcore
* corrected the typos
2020-11-06 16:15:38 +08:00
William Cheng
b5473d2fda
[c#][netcore] Skip readonly properties in serialization ( #7883 )
...
* skip readonly in serialization (c# netcore)
* minor wording change
2020-11-06 10:15:11 +08:00
William Cheng
739249917c
fix null json payload in net47 ( #7870 )
2020-11-04 17:19:05 +08:00
Ghufran Zahidi
d179574b4e
Fixed the HttpSigning issue for query string ( #7859 )
2020-11-02 21:32:37 +08:00
William Cheng
9377dbca56
Add "decimal" support ( #7808 )
...
* rename BigDecimal to decimal
* add isDecimal
* fix tests
* minor fixes
* fix mapping, update doc
* update test spec
* update c# samples
2020-11-02 21:31:32 +08:00
William Cheng
96efc76ed5
update samples
2020-10-30 11:37:33 +08:00
William Cheng
70323adf9f
[C#] support .NET framework 4.7 ( #7833 )
...
* add net47 support to the csharp generator
* update doc, fix appveyor
2020-10-29 22:41:08 +08:00
William Cheng
a8bd859397
use System.Environment.OSVersion in .net standard ( #7831 )
2020-10-29 10:54:09 +08:00
William Cheng
0e994eabf7
use WriteRawValue instead of WriteRaw ( #7830 )
2020-10-29 10:53:50 +08:00
William Cheng
042fc81f31
add anyOf support ( #7801 )
2020-10-27 17:02:05 +08:00
William Cheng
b059b786a5
update c# gitignore ( #7774 )
2020-10-21 13:41:41 +08:00
William Cheng
19249e597c
[C#][netcore] Add custom converters for oneOf models ( #7766 )
...
* add custom converter for oneof models
* remove custom logic when deserializing oneof response
2020-10-20 23:10:31 +08:00
William Cheng
072b309100
[C#][netcore] Add nullable support to oneOf models ( #7750 )
...
* add nullable support to C# oneOf models
* fix null reference exception
2020-10-20 14:50:03 +08:00
Ghufran Zahidi
12acf2eb72
[C#][netcore]Fixed the HTTPSigning to calculate the body diegest without CamelCase ( #7755 )
...
* Fixed the HTTPSigning to calculate the body diegest without CamelCase
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-10-20 14:26:38 +08:00
William Cheng
c1f2b1cad9
[c#][netcore] add proxy support ( #7741 )
...
* add proxy support to c# netcore client
* add test, update doc
2020-10-20 10:05:37 +08:00
William Cheng
305d30102b
Add back HttpSigningConfiguration.cs
2020-10-13 13:30:51 +08:00
William Cheng
45e6accf99
remove HTTPSigningConfiguration.cs
2020-10-13 13:28:55 +08:00
William Cheng
a5083398de
fix warning, remove trailing spaces ( #7659 )
2020-10-13 10:32:43 +08:00
William Cheng
f8a71cab5c
convert fromjson to static method ( #7650 )
2020-10-12 15:25:37 +08:00
William Cheng
b208a311db
[C#][netcore] Rename HTTPSigningConfiguration.cs to HttpSigningConfiguration.cs ( #7630 )
...
* rename HTTPSigningConfiguration.cs to HttpSigningConfiguration.cs
* update samples
* minor change
2020-10-11 12:25:38 +08:00
William Cheng
4acc8eab45
[C#][netcore] Add discriminator support to oneOf lookup ( #7626 )
...
* add discriminator support to oneOf lookup
* fix type check, removed unused code
* fix type check
* add options
* setLegacyDiscriminatorBehavior
* fix typo
* replace break with return
* use packageName
2020-10-10 18:20:30 +08:00
William Cheng
001533fa63
fix warnings in HTTPSigningConfiguration ( #7628 )
2020-10-08 22:58:59 +08:00
William Cheng
a1c8e248e7
[C#][netcore] Add oneOf support to C# .NET Core client ( #7607 )
...
* add oneOf support to c# netcore
* add oneof support to c# netcore client
* update samples
* remove unused file
* add oneof support to response in api client
* add oneof support to serialize
* update samples
* fix actual instance, add more tests
* fix oneof handling in api client
* update tests
2020-10-08 15:46:36 +08:00
William Cheng
d8ba49b267
default OverrideSpecifiedNames to false ( #7583 )
2020-10-07 15:54:00 +08:00
William Cheng
4bde3a12d1
[C#][netcore] Add IsRequired
to the model properties ( #7590 )
...
* add IsRequired to c# model properties
* add deserialization tests for pet
* revise test
2020-10-04 16:19:30 +08:00
William Cheng
626481bb07
Add tests for serialization of special property names ( #7544 )
...
* add test for serialization of special propery name
* comment out os dependent test
2020-10-01 20:38:01 +08:00
Jeff Shantz
b8de51f2fd
Update RetryConfiguration.mustache ( #7495 )
...
* Update RetryConfiguration.mustache
Use Policy<> instead of RetryPolicy<> to allow for use of wrapped policies.
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-29 22:42:58 +08:00
William Cheng
d7dfcc20c0
Add server URL without variables to the test spec ( #7517 )
...
* add server url without variables to the test spec
* fix php tests
* fix tests
* fix assertion
2020-09-28 22:06:42 +08:00
William Cheng
5ebf26e0d2
fix issue without http signature auth ( #7504 )
2020-09-24 23:56:50 +08:00
William Cheng
2157d526e1
update samples
2020-09-22 20:45:22 +08:00