66 Commits

Author SHA1 Message Date
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
cb8c3dfc2e update csharp readme 2016-01-20 12:00:57 +08:00
wing328
3269a84632 fix typo Configuraiton 2016-01-19 10:42:17 +08:00
wing328
417dcc8a86 update csharp configuration to avoid circular dependency, deprecate
ApiClient.Default
2016-01-18 11:39:32 +08:00
wing328
1bae5c44b2 fix null apiclient in .net (windows) 2016-01-17 16:04:13 +08:00
wing328
f50463da02 fix security issue with filename for c# api client 2016-01-14 10:43:56 +08:00
wing328
e0f43c1c58 add binary support to C# client 2016-01-11 00:45:57 +08:00
wing328
6b7439b9d9 add compile-mono, fix csharp comment 2016-01-10 00:17:55 +08:00
wing328
468a13dc96 add cli option to optionally generate assemblyinfo.cs (default: true) 2016-01-08 17:03:57 +08:00
wing328
eeaf832cae update csharp reserved words with local variable names in api methods 2016-01-06 23:58:58 +08:00
wing328
2cc5924498 update test case, docstring for timeout 2015-12-19 23:15:54 +08:00
wing328
0aa4d2fb8e csharp add timeout, fix default constructor 2015-12-19 22:55:52 +08:00
hacki11
5f13484157 - add downloadImage to Petstore
- fixed equal instead of ':' after Content-Disposition
- added definition of file (swagger-maven-plugin generates them)
2015-12-17 00:14:21 +01:00
wing328
b01b414aae add constructor to configuration 2015-12-14 22:26:32 +08:00
wing328
f03bc1f3bc remove some static methods in configuration 2015-12-14 16:07:41 +08:00
Jeff Kwan
e0582ae912 Added the ability to customize the DateTimeFormat
Updated Configuration to have a DateTimeFormat
Added Unit Tests for Configuration.DateTimeFormat
Cleaned up namespaces in SwaggerClientTest
Added an embedded resource for testing uploads
2015-12-11 18:28:37 -05:00
Jeff Kwan
74d80289dd Add a unit test for the datetime serialization 2015-12-10 20:28:44 -05:00
wing328
f9f0992cc8 add default member's value for C# models 2015-12-08 15:09:30 +08:00
wing328
ab520e41be update return tag in documentation (C#) 2015-12-04 17:07:20 +08:00
wing328
0cd801b952 add async with http info method to C# client 2015-12-03 22:09:40 +08:00
wing328
dd28075a0e add back deprecated method 2015-12-03 17:33:25 +08:00
wing328
506b8d2b77 add WithHttpInfo method 2015-12-03 16:34:51 +08:00
wing328
a5a4f8c7e0 add api response to C# 2015-12-03 11:10:34 +08:00
wing328
cea8ad40cd make apiclient less mutable 2015-12-02 16:01:29 +08:00
wing328
0abe787b58 add default api client 2015-12-01 16:17:22 +08:00
wing328
c9f2380f0f add test case for status code and response header 2015-12-01 14:08:20 +08:00
wing328
6405fba663 add test cases for configuration 2015-11-30 20:12:58 +08:00
wing328
bb086a7f91 refactor apiclient, configuration, authentication for c# client 2015-11-30 19:45:08 +08:00
wing328
dfc0813a18 add optional parameter to c# api client (enabled by default) 2015-11-28 15:40:44 +08:00
wing328
a9da01a451 better auth for C#, format change 2015-11-22 16:08:35 +08:00
wing328
a8119049ad add test case for pet equal 2015-11-21 15:16:38 +08:00
wing328
1ce3b67aa4 add equal and gethashcode to C# model 2015-11-21 13:22:00 +08:00
wing328
b815163ceb replace restsharp extension functions with functions in apiclient 2015-11-16 11:30:34 +08:00
wing328
5a8d2c834f add oauth support to csharp 2015-11-06 13:56:40 +08:00
wing328
080e302c63 fix csharp import for file in model files 2015-11-05 22:47:53 +08:00
wing328
55d69d80bc update c# sample code 2015-10-28 15:33:56 +08:00
wing328
7b79abef63 update c# sample 2015-10-06 11:33:00 +08:00
wing328
6ed7663466 add remarks to csharp method 2015-10-06 11:28:18 +08:00
wing328
3c78e29a12 better Accept header for C# 2015-10-05 13:19:58 +08:00
wing328
f21fa08cd6 update C# ParamterToString to support array of object, add test case 2015-09-11 22:48:38 +08:00
wing328
16afd4ee9b update map to use String instead of string 2015-09-11 18:02:51 +08:00
wing328
1331484a0f fix urlencode in apiclient 2015-08-29 22:39:44 +08:00
wing328
570a595ffb fix invokerPackage with packageName in compile.mustache 2015-08-25 15:35:22 +08:00
wing328
05f00013f1 add back csharp dll, update sample 2015-07-30 10:19:46 +08:00
wing328
37dbd6e4cd Merge pull request #992 from who/develop_2.0
[C#] Fixing a mono compilation error
2015-07-21 21:43:06 +08:00
Andrew B
0b7b57bf4d [C#] Fixing a mono compilation error 2015-07-20 21:22:49 -07:00
wing328
596bde2ef6 remove leading space for path variable, update unit test 2015-07-20 10:43:08 +08:00
wing328
b8c06505f6 use fully qualified name for Task 2015-07-09 10:21:55 +08:00
wing328
e49fe7a12f better style for model, add <value> to all properties 2015-07-07 16:25:33 +08:00
wing328
b1b0e28f59 update c# style 2015-07-06 23:06:28 +08:00