wing328
d2baf9cbd7
add type object support to C#
2016-03-05 16:29:25 +08:00
wing328
329530c442
better model name for c#
2016-03-04 14:46:01 +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
23a7af4716
regen test code for petstore csharp and fix test errors
2016-03-02 19:47:45 +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
329223f364
add better reserved keyword handling for c#
2016-02-25 15:35:05 +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
91da8fef52
fix typo
2016-02-21 23:33:53 +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
wing328
c1b4f8df06
Merge pull request #2132 from jimschubert/csharp_35_client
...
[csharp] Initial settings for v3.5 client compatibility
2016-02-18 12:02:00 +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
23a90b7dcc
remove objc, add pom.xml to test C# petstore client
2016-02-13 17:43:38 +08:00
wing328
f53abf7d8e
Merge pull request #2083 from wing328/csharp_minor_fix
...
[C#] minor fix to documentation comment in Configuration class
2016-02-10 22:33:43 +08:00
Jim Schubert
37d07e1012
[csharp][aspnet5] AbstractCSharpCodegen base
...
This moves a bit of logic into a base type to prevent lots of
duplicates.
I've only converted csharp and aspnet5 generators, not csharp 2.0.
This base class should provide enough flexibility to support other C#
based client and server generators.
2016-02-09 12:37:59 -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
8d40b7a890
sanitize model name (C#)
2016-02-04 18:52:16 +08:00
wing328
5e1cb9349a
update exmaple, add toExampleValue
2016-02-04 18:18:45 +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
wing328
17f8931887
add default help text for new ts option
2016-01-26 15:02:26 +08: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
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
d04d554e0a
update comment in csharp test
2016-01-18 11:45:13 +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
f54185c66d
add binary support for php response
2016-01-15 11:43:02 +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
John Hancock
5f9164049c
CSharp: add support for DateTimeOffset and sourceFolder configuration
2016-01-08 13:03:24 -05: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
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