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
John Hancock
b4bce238c2
CSharp: Optionally build csproj file
2016-01-19 21:00:54 -05:00
wing328
731fd4be33
fix typo
2016-01-19 10:40:43 +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
John Hancock
584ea2862c
CSharp: Optionally build csproj file
2016-01-12 21:55:17 -05:00
wing328
e0f43c1c58
add binary support to C# client
2016-01-11 00:45:57 +08:00
wing328
e1348e7871
add new files for c#
2016-01-10 02:29:58 +08:00
wing328
6b7439b9d9
add compile-mono, fix csharp comment
2016-01-10 00:17:55 +08:00
John Hancock
2a7fc2d00e
Fixed whitespace/tab issues
2016-01-08 13:06:25 -05:00
John Hancock
5f9164049c
CSharp: add support for DateTimeOffset and sourceFolder configuration
2016-01-08 13:03:24 -05:00
wing328
c56252e4a0
Merge pull request #1801 from MyPureCloud/issue-1799
...
Issue 1799 - Inherited classes must come before implemented interface…
2016-01-04 14:52:45 +08:00
unknown
58694d0623
Issue 1799 - Inherited classes must come before implemented interfaces in the class definition
...
* Switched the order of parent class and the interface
2015-12-31 15:34:25 -07:00
unknown
6b39fde35a
Issue 1797 - Adding assembly info
...
* New mustache template created for AssemblyInfo.cs
* Properties added to the C# codegen file to specify the assembly property values and adding AssemblyInfo.mustache to list of supporting files
2015-12-31 14:58:26 -07: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
hacki11
322e7a4b4b
[C#] fix filename and Content-Disposition parsing on FileStream
2015-12-15 23:33:48 +01:00
wing328
89f269969d
Merge pull request #1716 from wing328/csharp_config_remove_static
...
[C#] remove some static methods in configuration
2015-12-15 19:51:29 +08:00
Artyom
fbf4d0e419
Fixed ArgumentOutOfRangeException
...
If the list is empty you get the ArgumentOutOfRangeException when calling flattenString.Remove(flattenString.Length - 1).
Also using a StringBuilder is the prefered way to concatenate strings in a loop.
2015-12-15 10:51:04 +02: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
23fa84bff8
Add some reasonable comments to this
2015-12-10 20:03:29 -05:00
Jeff Kwan
cf3144d31f
[C#] Fix date-time serialization to be ISO 8601
...
Fix the date-time serialization so that it's actually ISO 8601
compliant, currently it generates a date-time string
Issue #1705
2015-12-10 19:56:10 -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
4482f71e05
add apiresponse.mustache
2015-12-03 16:47:14 +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
70dd3a6e4b
update to handle model without any properties
2015-12-01 16:28:23 +08:00
wing328
0abe787b58
add default api client
2015-12-01 16:17:22 +08:00