Commit Graph

254 Commits

Author SHA1 Message Date
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
Justus Thorvaldsson
2c1b71429a Fixed space between inline enumclasses and removed extra tostring 2015-12-22 13:49:04 +01:00
Justus Thorvaldsson
3b95df3ca7 Added construct that was removed when merge wrongly 2015-12-22 12:24:08 +01:00
Justus Thorvaldsson
7c9832c741 Merge remote-tracking branch 'upstream/master' https://github.com/swagger-api/swagger-codegen.git 2015-12-22 10:43:42 +01:00
Justus Thorvaldsson
7d9bddbe23 Added sample files generated 2015-12-22 08:19:44 +01: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
ca26608b28 Add some tests for time zones 2015-12-10 20:42:30 -05:00
Jeff Kwan
74d80289dd Add a unit test for the datetime serialization 2015-12-10 20:28:44 -05:00
Justus Thorvaldsson
b434fb517f Fixes enums c# 2015-12-08 09:43:28 +01: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
11daa87e44 add documentation to test cases in C# 2015-11-22 16:14:16 +08:00
wing328
9d76d39c00 update basic auth to allow only username/password 2015-11-22 16:09:15 +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
Justus Thorvaldsson
f4773d3333 Added json enum to csharp with decoration
using newtonsoft decoration
2015-11-20 14:33:22 +01:00
wing328
ce7a707ec1 reapply the fix after rebase 2015-11-17 10:06:38 +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
ba72e7344a remove nuget pacakges 2015-07-20 10:48:20 +08: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
wing328
94768d44b5 better type comparision 2015-07-06 13:55:33 +08:00
wing328
3b1999af4b update csharp sample 2015-07-06 11:24:59 +08:00
wing328
f823c0e26a update newtonsoft json 2015-07-06 11:03:36 +08:00
wing328
987a61640b fix file upload issue. add error handling for status code 0 2015-07-03 17:39:27 +08:00
wing328
5c888ad039 better method comment 2015-07-03 13:55:51 +08:00
wing328
d7d6ba957e fix comment and use 4-space indentation 2015-07-03 11:45:31 +08:00
wing328
57b54d8ad7 update code style for apiclient, configuration and apiexception 2015-07-03 10:36:21 +08:00
wing328
422da698f6 import model only if it has import for c# 2015-07-02 11:18:41 +08:00
wing328
488e604207 use stream for file 2015-07-01 21:37:48 +08:00
wing328
4d6dbf7d92 show return in doc only if it has a return 2015-07-01 15:16:28 +08:00
wing328
2e76b56f30 revert file to String, add test case for upload file 2015-06-30 17:50:22 +08:00
wing328
f290de95dd update parameter name to camelize lower 2015-06-29 23:14:00 +08:00
wing328
59987a54a9 fix deserialization of string and other primitive 2015-06-29 22:16:38 +08:00
wing328
9726ada8d1 fix return type and tempfolder 2015-06-29 15:30:34 +08:00
wing328
76ece5a4eb add file response support for c# (passed test cases) 2015-06-29 12:17:49 +08:00
Tony Tam
31efefe0b9 Merge branch 'csharp_add_cli_support' of ssh://github.com/wing328/swagger-codegen into wing328-csharp_add_cli_support 2015-06-25 11:54:30 -07:00
wing328
6aac24398a update model to support inheritance (#879) 2015-06-24 14:34:05 +08:00
wing328
1d59937150 add nunit test for csharp 2015-06-22 11:53:44 +08:00
wing328
6ab7be4058 add package version 2015-06-18 22:20:52 +08:00
wing328
df72188bc0 add cli support to csharp 2015-06-18 22:06:59 +08:00
wing328
4982784d7c upgrade restsharp to 105.1.0 2015-06-10 15:57:07 +08:00
fehguy
3d2f09a693 updated versions 2015-06-09 00:25:09 -07:00
wing328
680078dc58 fix csharp refer to apiinvoker 2015-06-09 13:52:01 +08:00
Tony Tam
64ea3f8177 rebuilt 2015-06-07 20:50:35 -07:00
Tony Tam
0c1657d744 updated package 2015-06-06 23:43:34 -07:00
Tony Tam
26d9215e43 Merge pull request #808 from wing328/csharp_api_instance
[C#] Added ApiClient (Pluggable) and authentication (API key and HTTP basic auth)
2015-06-05 00:42:44 -07:00
wing328
9c747e3e37 fix query parameters 2015-06-03 09:21:45 +08:00
wing328
5f36ad3b75 add authentication support 2015-05-29 16:43:27 +08:00
wing328
165efdbdbb rename apiinvoker to apiclient, add configuration, make apiclient an instance 2015-05-28 18:24:03 +08:00
wing328
c2c43bba37 make datetime nullable 2015-05-26 17:48:52 +08:00
wing328
f807e34b2b refactor csharp (no compile error) 2015-05-25 18:21:17 +08:00
wing328
92dd5cab93 add restsharp.dll, update compile.bat 2015-05-25 11:44:08 +08:00
wing328
df4b952312 fix object type without ref for CSharp 2015-05-22 14:12:53 +08:00
wing328
c12673a407 fix error handling for 4xx, 5xx returned by server 2015-05-14 14:16:12 +08:00
wing328
2f5f2b367b update package name to confirm to csharp convention, fix default header 2015-05-12 12:45:59 +08:00
wing328
e7b170bf3c better comment on csharp api, add ParameterToString to handle date 2015-04-29 16:27:08 +08:00
wing328
96d837274e udpate csharp template with better comment and ParameterToString 2015-04-29 11:00:05 +08:00
wing328
8818c209df udpate csharp client with restsharp 2015-04-29 10:56:24 +08:00
wing328
5c057e1306 refactor csharp client using restsharp, getpetbyid working 2015-04-29 10:55:49 +08:00
wing328
8512259d02 update method name based on style guide, update petstore sample 2015-04-17 00:26:06 +08:00
wing328
5cbe5d60aa add iso8601 support to csharp, add more comments, add PATCH support 2015-04-09 15:55:13 +08:00
wing328
660d336646 fix warning related to csharp response, better code format for csharp api 2015-04-03 23:10:10 +08:00
Tony Tam
fe3c3cc8bc fix for #578 2015-03-31 20:59:57 -07:00
wing328
c1824b5387 fix parameter name in API, update petstore sample 2015-03-30 09:31:49 +08:00
William Cheng
836f7ecb95 rebase with develop_2.0 2015-03-28 22:55:15 +08:00
Tony Tam
6a2ea9f614 regenerated client 2014-06-10 16:51:10 -07:00
Tony Tam
bb3bd0d357 regenerated clients 2014-01-27 07:49:58 -08:00
Tony Tam
731fddbc30 regenerated client 2013-10-18 14:44:02 -07:00
Tony Tam
4a50bb3183 updated to 1.2 spec support 2013-08-17 10:10:37 -07:00
Danny Gershman
e9fa4434f2 fixing replaceAll bug on windows with escaping paths, changed replaceAll() to replace() 2013-05-30 15:35:47 -04:00
Danny Gershman
9a73eb8994 created CSharp codegen templating 2013-05-28 14:17:41 -04:00