William Cheng
50f3706c5c
Add gitignore to C# 2.0, Nancyfx generators ( #7776 )
...
* add gitignore to c# 2.0, nancyfx generators
* comment out csharp netstandard
2020-10-22 15:43:32 +08:00
Jim Schubert
70ca93570e
[core][general] Add metadata file tracking to aid in "Golden Tests" regeneration ( #6325 )
2020-05-22 16:48:32 -04:00
DK99
5693cb9863
[c-sharp] generator added CancellationToken to async api calls ( #6243 )
...
* csharp generator CancellationToken added to async methods
* update samples
2020-05-10 23:55:48 -04:00
William Cheng
c6353a7589
add bearer auth support to C# 2.0 client ( #5978 )
2020-04-19 23:15:57 +08:00
Bouillie
65eff3ba4c
[Csharp-client] Complex form parameters are not serialized as application/json ( #5787 )
...
* [csharp-client] Complex form parameters are now correctly serialized as json.
Reference: http://spec.openapis.org/oas/v3.0.3#special-considerations-for-multipart-content
* Updated bin/windows csharp sample generation scripts to point to the correct directories
* Updated csharp samples
Co-authored-by: Olivier Leonard <oleonard@ankama.com >
2020-04-02 11:59:27 +08:00
Tatsuro Shibamura
e86faa4ed1
[csharp][csharp-netcore][csharp-dotnet2] Convert bool value to string in lower case ( #5178 )
...
* Convert bool value to string in lower case
* Update sample projects
2020-02-01 23:54:53 +08:00
Hassan Paknia
5766fca98b
Renaming foreach variable to avoid name conflict with the possible input parameter named value ( #4232 )
2019-10-24 00:51:52 +08:00
Juang, Yi-Lin
5ab1c9c75b
Fix logic of getNullableType of csharp server and client. ( #3537 )
...
* Fix default nullable
* Fix tests
* Update samples
* Fix template default value
* Update samples
* Also fix for interface
* update samples
2019-08-06 10:26:50 +08:00
William Cheng
d35f4b08d9
Fix various typos in the templates (Ruby, C#) ( #1803 )
...
* Fix typos
* update petstore samples
2019-01-05 09:39:10 +08:00
Dec12 | Fujigon
bb056ccf3d
[General] fix InlineModelResolver's logic and use openapi-generator's InlineModelResolver, so that nested "required" works correctly ( #1200 )
...
* fix InlineModelResolver's logis and use openapi-generator's InlineModelResolver, so that nested "required" works correctly
* add "required" to nested model schema
* update ensure-up-to-date to include openapi v3's jaxrs
* change test required field
* fix sample shell script, hide timestamp
* fix NPE
* move test case to petstore-with-fake-endpoints-models-for-testing.yaml
* fix jaxrs-jersey (oas3) example generate shell script to use petstore-with-fake-endpoints-models-for-testing.yaml
* add default value
* re-generate samples
2018-10-23 16:51:55 +08:00
Rubén Martínez
529a638d11
[C#] Fix issue #1088 with generation of enum classes referenced from other objects ( #1089 )
...
* Run ./bin/utils/ensure-up-to-date to re-generate samples run in the CI.
* Fixed the #1088 issue by removing the update of enumeration properties while processing objects that reference them. Launched the ./bin/csharp-petstore-all.sh script.
2018-10-10 21:38:48 -04:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
William Cheng
ff3b954f10
update c# 2.0 samples ( #285 )
2018-05-02 14:30:25 +08:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
William Cheng
80d10e2cba
Update C# dotnet2 client with OAS2, OAS3 petstore ( #143 )
...
* update csharp2 from codegen 2x
* update csharp dotnet 2 client (oas2)
* update csharp dotnet2 with pestore oas3
2018-04-19 15:05:47 +08:00
wing328
0b4b25afff
update all c# pestore samples
2018-01-25 21:17:57 +08:00
Pierre Deman
74e31699da
CsharpDotNet2Client - Use clientPackage in additionalProperties ( #6581 )
...
* CsharpDotNet2Client - Use clientPackage in additionalProperties if provided
* Give execution rights for csharp-dotnet2-petstore.sh
* Fix generation of C#.net2 apiPackage, modelPackage, clientPackage
* Fix modelPackage property missing when generating models
* Initialize clientPackage in constructor
2017-10-03 16:58:27 +08:00
wing328
443b0f142b
remove ref to SO ( #6209 )
2017-07-29 18:53:08 +08:00
beatcracker
ef076c34b4
[csharp] Update nuget.exe URL for latest version ( #6031 )
...
* Set nuget.exe URL to latest version
Fix #6022
* Update samples
2017-07-13 22:49:56 +08:00
Paŭlo Ebermann
4b9988c4f2
Update samples for several language (just whitespace changes, reordering, VERSION) ( #5828 )
...
* Update samples for several languages.
Just whitespace changes and some reordering where the order doesn't matter.
* Adding generated .swagger-codegen/VERSION files.
2017-06-14 01:17:31 +08:00
Jim Schubert
8e6dfce83e
[csharp2] Extend generator from AbstractCSharpCodegen ( #5552 )
...
* [csharp2] Extend generator from AbstractCSharpCodegen
* [csharp2] regenerate sample
2017-05-05 15:58:01 +08:00
Paŭlo Ebermann
a3e639ccee
Issue #3084 : remove timestamps from C# .NET2 samples. ( #5197 )
2017-03-26 22:48:20 +08:00
wing328
2e50a65a1c
better handling of reserved words in models, operationId ( #4620 )
2017-01-22 17:41:35 +08:00
wing328
dbb66af73d
[C#] Add auto-generated doc for c# 2.0 generator ( #4354 )
...
* add auto-generated doc for c# 2.0 generator
* update readme for c# 2.0
* update readme
* update namespace in the doc
2016-12-14 11:49:15 +08:00
Guo Huang
2dca8b003d
issue#2589: added fully qualified names memory stream for C#
2016-04-13 16:56:36 -07:00
wing328
08756413dc
fix comment in csharpdonet2.0
2016-01-10 00:31:37 +08:00
wing328
6b7439b9d9
add compile-mono, fix csharp comment
2016-01-10 00:17:55 +08:00
wing328
f033f59867
update reserved word list for C# .net 2.0 with local variable name in
...
api method
2016-01-06 23:58:58 +08:00
wing328
05f00013f1
add back csharp dll, update sample
2015-07-30 10:19:46 +08:00
Andrew B
e301d9d00e
Adding sample generator and output
2015-07-22 11:31:29 -07:00