William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
devhl-labs
b6e51b7a77
[csharp-netcore] Use scheme from base address ( #14685 )
...
* use scheme from base address
* removed unecessary null-forgiving operators
2023-02-15 23:47:33 +08:00
devhl-labs
7c57024e69
improved date de/serialization ( #14679 )
2023-02-15 23:46:48 +08:00
Beppe Catanese
68b944e6e6
Preserve order of securitySchemes ( #14536 )
...
* Remove alphabetical sort
* Update integration testing expectations
* Regenerate files
2023-02-10 22:20:19 +08:00
William Cheng
011982ab9c
[csharp-netcore] add tests for uuid string with pattern ( #14411 )
...
* add tests for uuid with pattern in csharp clients
* update samples
* update samples
* update
2023-02-08 20:54:56 +08:00
TORISOUP
7ca0b92944
[csharp-netcore] HttpClient/Set TimeoutException to inner exception in case of timeout ( #13862 )
...
* Changed to TimeoutException
* Handle timeout exceptions as inner exceptions.
* Corrected arguments for compatibility
2023-02-08 10:28:55 +08:00
devhl-labs
927bfa481f
Inline allOf parameters are always not required ( #14278 )
...
* fixed the issue
* added comment
2023-02-07 21:54:20 +08:00
devhl-labs
a3c0de935f
fixed format of Date serialization ( #14616 )
2023-02-04 15:09:33 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
devhl-labs
b538c2adf8
[csharp-netcore] Fixed serialization of nullable guids ( #14556 )
...
* fixed serialization of nullable guids
* build more csharp samples
* build all samples
* why do i have to build again?
2023-01-29 19:16:58 +08:00
devhl-labs
57546d49c2
renamed json converter variables ( #14555 )
2023-01-29 10:58:53 +08:00
devhl-labs
b8b8c5c208
[csharp-netcore] Added samples for composed schemas ( #14348 )
...
* added samples for composed schemas
* continue ignoring standard for now
2023-01-02 23:27:01 +08:00
William Cheng
344c49dd51
update Newtonsoft.Json to 13.0.2 ( #14277 )
2022-12-17 21:24:17 +08:00
devhl-labs
ab59e68f1e
fixed ( #14274 )
2022-12-17 16:16:13 +08:00
devhl-labs
c3b9bd7459
[csharp-netcore] Adds ability to inherit api ( #13797 )
...
* refactor nrt annotation
* enable nrt by default in .net6.0+
* use shorter nrt annotation
* build samples
* removed debugging lines
* fixed model and operatoin constructors
* reverted a commented line for comparison
* upgraded to System.Text.Json
* build samples
* build samples
* deleted samples to remove old files
* bug fixes
* bug fixes
* added cumpulsory property to codegen
* build samples
* fixed bug
* fixed bug
* fixes
* removed bugged code that wasnt needed
* build samples
* restored sorting and default values for required params
* fixed bugs in comparison
* fixed sort comparators
* recreate tests
* build samples...again...
* removed debugging line breaks
* simplified constructor signature
* inject json options
* build samples...again...
* build samples
* add support for composed primitives
* build samples
* build all samples
* avoid reserved words
* restored a file
* multiple fixes
* bug fixes
* bug fixes
* api clients now transient, added EventHub
* bug fix
* bug fix
* added ability to inherit api
* added ability to inherit api
* bug fix
* added requiredAndNotNullable
* added custom serialization
* added request info to error handler
* added OrDefault for enum parsing
* fixed DateTime? deserialization
* added support for server override
* added IServiceCollection to host builder extensions
* improve cookie support
* bug fixes
* fixed spacing
* fixed content type header
* fixed spacing
* removed reference to newtonsoft
* bug fixes in deserialization
* resolved conflicts
* removed postProcessAllModels code now present in abstract
* added a comment with url to an issue
* removed unneeded code
* removed change that should be another pr
* build and update samples
* reduce number of files modified
* reduce number of files modified
* delete and build samples
* delete and build samples
* fixed property name issue
* fixed CodegenModel collection properties
* avoid a conflict
* avoid a conflict
* add a todo
* added todo
* fixed circular reference
* small changes
* synced with other branches
* commented some code for now
* copied samples from master
* changed mustache templates
* build samples
* fixed invalid property names
* rebuild samples
* rebuild samples
* fixed casing issue
* resolved conflicts
* fixed bug in resolving conflicts
* removed default api, users can handle that if required
* removed default api, users can handle that if required
* build samples......again....
* addressed comment
* addressed comment
* addressed comment
* addressed comment
* build samples
2022-12-09 18:01:54 +08:00
devhl-labs
74441fde9f
[csharp-netcore] Removed net5, added net7 ( #14003 )
...
* removed net5, added net7
* bumped github action dotnet version
2022-11-18 00:50:29 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
William Cheng
7a2c3f7188
update C# samples
2022-10-19 23:49:54 +08:00
Jason Finch
0d56ebc702
[csharp-netcore] Enum parameter serialization to use EnumMember value when provided. ( #11448 )
...
* Add modification to petstore yaml to support testing enum string resolve. Move csharp-netcore-net50 to point to new yaml schema.
* [csharp-netcore] - For enum's with an EnumMember Attribute use this value instead of enum.ToString().
-Regenerate csharp samples to accomodate change.
* fix: rebase on master. Update samples.
* task (Samples): update csharp-netcore samples. (via generate-samples.sh)
2022-10-19 23:31:18 +08:00
devhl-labs
0c1384b950
[csharp] Fixed data type for maps of maps ( #13701 )
...
* fixed data type for maps of maps
* added models to samples
* moved code to avoid a bug in the property generation
2022-10-19 17:13:11 +08:00
William Cheng
c81c131c46
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-10-16 17:47:47 +08:00
William Cheng
866d67a78f
Move some travis tests to github workflow, remove redundant c# test ( #13704 )
...
* move some travis tests to github workflow, remove reduntant c# test
* setup ruby
* switch to setup-ruby
* bundle install
* remove bash
* remove bundle install
* remmvoe gemfile
* add more folders in tab detection
* comment out java folder in tab detection
* undo changes in tab detection
2022-10-16 16:20:49 +08:00
devhl-labs
f11cb7f17d
[csharp] Delete and build samples ( #13641 )
...
* delete and build samples
* how did this not get committed?
* how did this not get committed?
* how did this not get committed?
* fixed csharp netcore functions
* reverted two files
* restored manually created tests
* reverted some unintentional changes
* restored unintended changes
2022-10-16 10:18:48 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
devhl-labs
0581d81eaa
[csharp] Fixed data type issues ( #13541 )
...
* fixed data type issues
* reverted a change
2022-10-03 22:08:28 +08:00
William Cheng
6b47b14896
update restsharp to the latest stable version ( #13525 )
2022-09-27 11:05:37 +08:00
William Cheng
23c67d1581
update c# samples
2022-09-27 01:10:20 +08:00
William Cheng
d46189bb28
Add .net framework 4.8 support ( #13504 )
...
* add .net framework 4.8 support
* add dependency, test in appveyor
* update doc
2022-09-26 11:02:39 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
Savitha M R
522a5df24a
[csharp-netcore] To support Secret API key input as string ( #13276 )
...
* To support api secret key to take input as string.
* To support Secret API key input as string
Co-authored-by: Savitha M R <savitha.m@maplelabs.com>
2022-08-29 18:17:30 +08:00
William Cheng
a6ce5f711b
Better logic to handle duplicated properties in parent, child models ( #13135 )
...
* better logic to handle duplicated properties in child, parent models
* add tests, update samples
2022-08-10 14:15:25 +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
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
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
William Cheng
05f4792df7
[csharp-netcore] fix OAuth2 integration when using httpclient
library ( #12954 )
...
* Update RestSharp to v108
* Add OAuth2 Application (client_credentials) authentication
* Run generators and fix typos
* Undo accidental python and rust changes
* Add documentation, fix authenticator bug, and fix user agent bug
* Fix tests
Missed some changes in the mustache templates.
Also had to update the `netcoreapp2.0` test project to `netcoreapp3.1` for compatibility with RestSharp
* Switch HttpUtility to WebUtility for compatibility
* skip oauth file generation for httpclient
* fix templates
* remove files, regenerate samples
* add reference to system.web
Co-authored-by: Jared Bates <Jared.Bates@sight-sound.com>
2022-07-20 20:30:56 +08:00
Jared Bates
2dcc319e13
[csharp-netcore] Update RestSharp and add client_credentials auth support ( #12789 )
...
* Update RestSharp to v108
* Add OAuth2 Application (client_credentials) authentication
* Run generators and fix typos
* Undo accidental python and rust changes
* Add documentation, fix authenticator bug, and fix user agent bug
* Fix tests
Missed some changes in the mustache templates.
Also had to update the `netcoreapp2.0` test project to `netcoreapp3.1` for compatibility with RestSharp
* Switch HttpUtility to WebUtility for compatibility
2022-07-20 19:25:29 +08:00
Justin Black
c44fe8a04a
Fixes fromProperty when property is required vs optional ( #12858 )
...
* Adds required boolean to fromProperty
* Adds required to other method signatures
* pythn-exp sample regenerated
* Samples regenerated
* Adds java test of fix
2022-07-13 18:17:33 -07:00
justM4D
464da4a10f
[csharp-netcore] Generic Host: Added port definion to the uriBuilder in API template ( #12795 )
...
* Added port definition to uriBuilder, since it was ignored before and couldn't be set even by supplying a custom client
* generated samples
* update samples
Co-authored-by: Matthias Lewen-Rieger | PROSPER X GmbH <matthias.lewen-rieger@prosper-x.de>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-07-13 16:49:59 +08:00
William Cheng
60c5875091
Custom Content type: better message and added tests ( #12841 )
...
* add tests for custom mime types
* better message for custom mime type example handling
* minor code format change
2022-07-12 18:32:15 +08:00
William Cheng
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00