Jim Schubert
aa778edbd8
[csharp] Regenerate sample client
...
In this commit, FormatTest.cs was modified manually. Unrelated to this
commit, a Guid with default parameter of null was not marked nullable.
2016-05-01 20:28:50 -04:00
Jim Schubert
7b578a4c4e
Update C# client structure using common standards
...
Aligns C# project outputs more with community accepted standards and
leverges Nuget for package management.
This also moves the generated C# sample code out of the test project's
Lib folder. The output structure here was causing some issues with
maintainability (e.g. had to update test project with generated code).
(see: https://gist.github.com/davidfowl/ed7564297c61fe9ab814 )
Output for a project, IO.Swagger will now look like:
.
├── IO.Swagger.sln
├── README.md
├── bin
├── build.bat
├── build.sh
├── docs
├── packages
└── src
├── IO.Swagger
│ └── packages.config
└── IO.Swagger.Test
└── packages.config
This is a change from the Java-like src/main/csharp/IO/Swagger/etc
structure and will be a breaking change for some.
2016-05-01 20:03:45 -04:00
wing328
c4b32f24cf
remove trailing space
2016-04-21 17:23:36 +08:00
wing328
6075f078b6
minor fix to constructor
2016-04-21 17:18:44 +08:00
wing328
cbccee9c39
update csharp doc with minor enhancements and bug fixes
2016-04-18 00:19:16 +08:00
Kevin Glinski
f02ee42594
merge from upstream
2016-04-14 08:35:05 -04:00
Kevin Glinski
2beeabb33a
fixing typeos
2016-04-14 08:22:56 -04:00
Kevin Glinski
a7a39ab08b
adding readme text and nav links
2016-04-14 08:18:55 -04:00
wing328
31120590f5
regenerate csharp sample
2016-04-14 16:30:22 +08:00
wing328
f4e69597e5
fix typo
2016-04-14 16:24:06 +08:00
wing328
5c632e9862
update csharp test case to use another petstore spec
2016-04-14 16:24:06 +08:00
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
Kevin Glinski
67fe023efb
fixing typeo
2016-04-13 21:52:59 -04:00
Kevin Glinski
ffff0ab535
adding csharp documentation
2016-04-13 21:50:35 -04:00
wing328
b34c9dd7ee
fix indention in c#
2016-04-12 12:42:09 +08:00
wing328
68cb030609
add new files for format test model
2016-04-11 22:11:53 +08:00
wing328
44a4219e3e
fix swift mapping with int and number
2016-04-11 19:37:56 +08:00
wing328
8e6bbf5625
update sample
2016-04-11 01:02:01 +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
251e4bb19d
better code quality
2016-04-09 19:03:31 +08:00
wing328
be13632bb4
fix csharp extra comma in constructor
2016-04-09 19:03:31 +08:00
wing328
f7affc6344
add new object to test different format
2016-04-09 19:02:31 +08:00
wing328
13712ee5bc
add new model in csharp
2016-03-31 16:53:12 +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
47bb5689d9
better hanlding of model name starting with number
2016-03-17 11:49:06 +08:00
wing328
ab41214f06
fix error with resteasy
2016-03-16 14:26:03 +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
a529d9dfe0
push new git_push and .gitinore file
2016-03-12 18:01:53 +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
wing328
7dff26912a
fix link to file, add .gitignore
2016-03-09 16:21:51 +08:00
wing328
964a44a4c5
update sample for C#
2016-03-07 17:02:36 +08:00
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