Commit Graph

180 Commits

Author SHA1 Message Date
Guo Huang
35fbb3e53a updated csharp project to use System.IO.Stream instead of Stream to avoid namespace issue 2016-04-13 22:44:00 -07:00
wing328
b34c9dd7ee fix indention in c# 2016-04-12 12:42:09 +08:00
wing328
c8f4edff68 Merge pull request #2554 from wing328/add_format_test
Add tests for different type and format for model's properties
2016-04-11 23:05:59 +08:00
wing328
44a4219e3e fix swift mapping with int and number 2016-04-11 19:37:56 +08:00
Jerome Dreyer
e2941582fa fixed tab-spacing 2016-04-11 09:49:03 +02:00
Jerome Dreyer
a8bbb37866 fix sync call for uwp 2016-04-11 08:24:18 +02:00
wing328
e952e4435e fix system.web import 2016-04-11 00:59:48 +08:00
wing328
a6a88decfd add a switch for excluding system.web for ump support 2016-04-11 00:59:48 +08:00
wing328
559e11e6d2 add uwp support 2016-04-11 00:59:47 +08:00
wing328
1cd3255be6 remove trailing space for csharp api client 2016-04-10 22:04:52 +08:00
wing328
be13632bb4 fix csharp extra comma in constructor 2016-04-09 19:03:31 +08:00
wing328
f521d6e166 minor fix to docstring in csharp 2016-03-31 16:52:00 +08:00
wing328
05a8c47a36 update docstring to include default value 2016-03-17 17:43:21 +08:00
wing328
6d2649de00 fix http user agent in C# 2016-03-15 11:41:48 +08:00
wing328
84564ae231 Merge pull request #2371 from wing328/csharp_user_agent
[C#] add httpUserAgent option, add configurable user-agent support to C#
2016-03-14 11:03:57 +08:00
wing328
cdecb5133f add httpUserAgent option, add customized user-agent support to C# 2016-03-13 17:28:43 +08:00
wing328
0e45f868a0 fix base64encode in csharp, add test case 2016-03-13 00:05:32 +08:00
wing328
637bdd2f50 add git_push and gitignore to most client generators 2016-03-12 17:35:25 +08:00
wing328
ac15938080 escape html spec char in model summary and value, add model to test
model and property name
2016-03-10 14:35:16 +08:00
Peter Kern
a3d0fd61f8 compile.bat needs to use backslash to work inside a normal windows cmd. bin directory should be created if it does not exists. 2016-03-09 21:47:20 +01:00
wing328
485d269830 use model instead of object, replace cp with copy (for winxp) 2016-03-07 16:49:29 +08:00
wing328
d2baf9cbd7 add type object support to C# 2016-03-05 16:29:25 +08:00
wing328
1e4fb0ec96 Merge pull request #2301 from wing328/update_test_file
Update wording for test files
2016-03-04 10:23:13 +08:00
wing328
7e63226ed4 update wording for test file, minor tweats to petstore test 2016-03-03 20:19:37 +08:00
Tommy Alander
2d6dac16b7 add cli option to specify if to emit default values in datamember 2016-03-03 08:32:23 +01:00
Tommy Alander
e5f55da74e add hack to make enums nullable 2016-02-29 18:42:35 +01:00
Tommy Alander
61c1f72b0e use correct datatype with enums 2016-02-29 12:37:26 +01:00
Tommy Alander
a2be66d492 Merge remote-tracking branch 'main/master' 2016-02-29 08:24:31 +01:00
wing328
b077ff18a2 better local variable naming for C# 2016-02-28 02:15:29 +08:00
wing328
eed91d335d remove exception comment on model constructor to avoid compile warning 2016-02-23 19:32:49 +08:00
wing328
82d7c2d780 add test case, update c# model constructor to remove readonly property 2016-02-23 19:16:26 +08:00
wing328
b3b4670055 add exception comment, minor enhancement to param description 2016-02-21 23:31:19 +08:00
wing328
d42f23f829 update test case, minor fix to required property in c# 2016-02-21 23:09:56 +08:00
wing328
890b7d17e3 add readonly property support to C# 2016-02-21 22:36:04 +08:00
wing328
95ec991c52 add exception comment 2016-02-21 18:54:13 +08:00
Jim Schubert
1d57e70e76 [csharp] Set RestSharp to 105.1.0 due to bug in newer versions 2016-02-17 13:31:50 -05:00
Jim Schubert
0f6038f3b1 [csharp] Initial settings for v3.5 client compatibility
Pass -DtargetFramework=v3.5 to generate .NET 3.5 client
2016-02-13 10:55:54 -05:00
wing328
fed231c46d fix documentation comment in Configuration class (C#), make
compile-mono permission executable
2016-02-09 22:13:47 +08:00
wing328
246369ccdd update csharp help, fix default header 2016-02-04 18:18:44 +08:00
wing328
295cf0b2a1 add partial class to C# model 2016-02-02 22:45:57 +08:00
wing328
047abc63a4 add test case for c# method 2016-01-31 12:49:32 +08:00
wing328
4ce255dc38 add unit test files for C# 2016-01-31 01:52:41 +08:00
wing328
587615b656 update c# readme with command to generate DLL 2016-01-30 23:06:45 +08:00
Jim Schubert
2e958f9223 [csharp] Collections options tests, fix model using directive 2016-01-24 22:55:37 -05:00
Jim Schubert
0bb30ddccd Merge branch 'master' of github.com:swagger-api/swagger-codegen into csharp_List_to_ICollection 2016-01-24 09:35:46 -05:00
Jim Schubert
9dc40128ac [csharp] Options: useCollection, returnICollection
This change is inline with Microsoft's recommended guidelines for
collects
(https://msdn.microsoft.com/en-us/library/dn169389(v=vs.110).aspx).

Added generator options for csharp to:

* useCollection: Deserialize responses into and return Collection<T>
* returnICollection: For List<T> or Collection<T>, return ICollection<T>
  instead of the concrete type

As a consequence of useCollection, method imputs will also change to
Collection<T>.
2016-01-24 09:13:39 -05:00
wing328
3086bb624f Merge pull request #1941 from jhancock93/projectfile2
CSharp client: optionally build .csproj file
2016-01-24 12:50:40 +08:00
John Hancock
9edbfd6918 Fix csproj to use framework 4.5 instead of 4.5.2 and fix project file option description 2016-01-23 22:59:48 -05:00
John Hancock
60c79d1cae Fix assembly references in project file generation 2016-01-21 21:16:09 -05:00
wing328
cb8c3dfc2e update csharp readme 2016-01-20 12:00:57 +08:00