William Cheng
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00
William Cheng
9e412edb64
Prepare 6.0.1 release ( #12762 )
...
* update to v6.0.1
* update doc
* update samples
2022-07-03 23:36:46 +08:00
William Cheng
d0a0b822d6
[csharp-netcore] Add support for ComVisible, CLSCompliant attributes ( #12733 )
...
* add support for ComVisible, CLSCompliant attributes in csharp-netcore clients
* fix import
2022-07-01 13:51:29 +08:00
Anakael
280de38de9
[csharp-netcore] fix: url escaping ( #12739 )
...
* fix: url escaping
* doc: add Polly to dependencies
* Revert "doc: add Polly to dependencies"
This reverts commit 29b95ed2c42455e970ac806149c7602980be8f2f.
2022-06-30 23:10:17 +08:00
William Cheng
22ea4a60a1
update readme to refer to 13.0.1 newtonsoft json ( #12689 )
2022-06-24 22:20:39 +08:00
William Cheng
f043602151
update samples
2022-06-03 18:16:27 +08:00
Prajon Shakya
421b3be828
[csharp-netcore] Add "WithHttpInfo" variant methods in api_doc ( #12323 )
...
* Added 'WithHttpInfo Variant' in api_doc template
* Update the samples
2022-06-03 18:10:15 +08:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
William Cheng
12cdacabbf
[Inline model resolver] better handling of inline responses and bug fixes ( #12353 )
...
* better handling of inline response schemas, bug fixes
* update samples
* add new files
* better code format
* remove unused ruby files
* fix java test
* remove unused js spec files
* remove inline_response_default_test.dart
* fix webclient tests
* fix spring tests
2022-05-13 10:17:59 +08:00
AJ Rice
5441aeca72
[csharp-netcore] Add support for byte[]
response deserialization ( #12188 )
...
* [csharp-netcore] DX-2532 - Add support for `byte[]` response deserialization
Add support for `byte[]` response type deserialization
* Update Samples and Docs
2022-04-25 12:27:56 +08:00
William Cheng
4e82b74cd5
fix warning in cref for list ( #12096 )
2022-04-10 09:37:09 +08:00
William Cheng
3e1797fb11
Add operations servers for csharp-netcore ( #12090 )
...
* Add the operation associated with each request path
* Populate the request operation with a combination of classname and operation id
* Initialize operation servers dictionary with default values
* Allow passing in the operation index with requests
* Check that the server contains a variables key before iterating
* Generated samples
* Generated samples with latest changes
* Include operations when at least one server exists
* Generate samples with the latest changes
Co-authored-by: Mike Hamer <mhamer@bandwidth.com>
Co-authored-by: Mike Hamer <hamer.mike@gmail.com>
2022-04-09 16:36:21 +08:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
devhl-labs
7b6fa755c1
[csharp-netcore] Composed primitives support in generichost ( #11924 )
...
* 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
2022-04-03 17:29:49 +08:00
devhl-labs
40d3331e78
[csharp-netcore] Inject json options ( #11862 )
...
* 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
2022-03-30 16:59:05 +08:00
William Cheng
571e635a54
[csharp][netcore] better tests for oneOf with primitive types ( #11907 )
...
* update samples
* undo changes for generichost
2022-03-19 22:21:33 +08:00
Jason Finch
ffd758d82d
fix: [csharp-netcore]: oneOf fixes for Primitive types ( #11427 )
...
* fix: [csharp-netcore]: oneOf fixes for Primitive types
- Escape type in XML comment to avoid issue with types<T> rendering.
- Conditionals for string and Object to still throw ArgumentException.
* fix: Adjust whitespace in csharp-netcore template. Regenerate Petstore clients due to different order of items in composedSchemas.
2022-03-18 11:58:46 +08:00
devhl-labs
86281a28c7
[charp-netcore] Fixed property and parameter sorting ( #11807 )
...
* 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
2022-03-16 00:35:27 +08:00
NoTuxNoBux
795db0c19e
Fix incorrect FileParameter deserialization in csharp-netcore ( #11850 )
2022-03-11 10:37:45 +08:00
devhl-labs
22a1906480
[csharp-netcore] Upgrade to System.Text.Json ( #11741 )
...
* 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 tasks to track the bugs
2022-03-10 15:02:42 +08:00
William Cheng
188f37f5a9
Merge branch 'master' of https://github.com/OpenAPITools/openapi-generator
2022-03-06 22:35:33 +08:00
William Cheng
03d4d75431
update C# samples
2022-03-06 22:35:04 +08:00
William Cheng
79872523d6
add tests, better code format ( #11814 )
2022-03-06 22:34:33 +08:00
William Cheng
087c5a2fdb
update c# samples
2022-03-06 21:29:49 +08:00
William Cheng
2daa7391e0
update polly to newer version 7.2.3 ( #11714 )
2022-02-25 19:13:37 +08:00
devhl-labs
d7b812ad42
[charp-netcore] Constructor Improvements ( #11502 )
...
* 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
* created library modelGeneric, removed debugging lines
* build samples
* build all samples
* avoid breaking changes
* publish and build samples
* added line break
2022-02-15 10:44:23 +08:00
William Cheng
5346d0b6b7
update samples
2022-02-14 11:45:12 +08:00
Jason Finch
dbb63dc077
tidy [csharp-netcore]: Remove unused UrlEncode method. Possible breaking change: Method is public so upstream consumer *may* of used it, but library does not. ( #11453 )
2022-02-07 15:18:24 +08:00
Ethan Keller
9f5422d688
Add cycle detection ( #7532 ) ( #11500 )
...
* Add cycle detection (#7532 )
* Review feedback
* Including ContextAwareNodes to detect cycles more accurately.
* Add test
* Add forest to test.
* No longer need ContextAwareNode
* Review feedback
* Update samples
2022-02-06 13:21:17 -05:00
devhl-labs
fcce44ab9b
[csharp-netcore] Add generichost samples ( #11451 )
...
* added generichost samples
* build samples
* added guid
* build samples
2022-02-05 17:53:26 +08:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
William Cheng
35fea62b3b
[c#][netcore] mark EOL frameworks as deprecated ( #11450 )
...
* removed old frameworks from csharp-netcore
* removed another reference and build samples
* updated readme
* deprecated frameworks
* fix test csproj file
* update doc
Co-authored-by: devhl-labs <shawnkanyer@gmail.com>
2022-01-30 02:01:26 +08:00
devhl-labs
24366be0db
[csharp-netcore] Adding generic host library ( #10627 )
...
* added generichost library
* added templates
* added an event, improved docs, added logging
* adding event args file
* fixed hard coded package name
* added an AddTokens overload for a single token
* changed api clients to singletons to support the event registration
* build samples
* log exceptions while executing api responded event
* nrt bug fixes, dangling comma fix
* resolving comments
* removed debugging lines
* refactored token provider
* rate limit provider now default
* updated readme, added ConfigureAwait(false)
* DI fixes
* removed a hard coded project name
* fixed nrt bugs
* improved NRT and .net 3.1 support
* renamed projectName to apiName, added cli option
* trying to avoid conflict
* set GenerateAssemlbyInfo to true
* created docs/scripts folder
* moved ApiTestsBase.cs to not get overwritten
* test fixes and improvements
* fixed licenseId bug, updated readme
* build samples
* export docs
* removed new language features
* added support for .net standard 2.0
* added git_push.ps1
* fixed bug in git_push.sh due to the new directory, prompting user for commit message
* moved documentation folders
* fixed bug when apiKey in query
* bug fix
2022-01-28 12:05:36 +08:00
William Cheng
e0bde82131
update samples
2022-01-22 09:03:50 +08:00
William Cheng
20bf0c73f8
remove duplicated else if condition ( #11370 )
2022-01-21 19:00:59 +08:00
William Cheng
55ffdb791f
mark retry class as static ( #11369 )
2022-01-21 16:36:19 +08:00
William Cheng
2d927a738b
Improve example value handling in C# generators ( #11355 )
...
* improve example value handling in C# generators
* fix typo
* update samples
2022-01-19 18:43:39 +08:00
Anakael
1b6d0f8746
Add condition for header ( #11325 )
2022-01-16 00:18:12 +08:00
Anakael
f06e7c52f4
Add only one auth header ( #11272 )
2022-01-11 12:09:33 +08:00
joaocmendes
b05faefb93
[BUG][csharp-netcore] Fix Multi Files for the same FormField ( #11132 ) ( #11259 )
...
* [BUG][csharp-netcore] Fix Multi Files for the some FormField (#11132 )
Make FileParamerts a Multimap to enable sending more than one file with the same key.
* update documentation for csharp-netcore
2022-01-11 11:02:39 +08:00
Justin Black
ac55ac9d55
Samples and docs regenerated ( #11194 )
2021-12-28 11:39:13 -08:00
William Cheng
6269a9810c
Prepare 5.3.1 release ( #11161 )
...
* prepare v5.3.1 release
* update samples
2021-12-21 18:20:13 +08:00
William Cheng
e00efe7c8d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-12-07 00:12:13 +08:00
William Cheng
2b7910c875
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-12-06 23:57:07 +08:00
William Cheng
1953e70661
[C#][netcore] minor code improvement ( #10951 )
...
* minor code improvement
* better code format
2021-11-25 13:28:33 +08:00
William Cheng
af0babf892
[C#][netcore] various improvements in HttpSigningConfiguration.cs ( #10941 )
...
* various improvements in HttpSigningConfiguration.cs
* update returns in xml comments
2021-11-24 16:14:29 +08:00
WILLIAM CHENG
eb75515715
Merge branch '5.4.x' into 6.0.x
2021-11-21 09:50:47 +08:00