Commit Graph

5457 Commits

Author SHA1 Message Date
Guo Huang
9c455880b2 issue #2548, added docstring to Go model and its properties 2016-04-11 11:14:33 -07:00
Guo Huang
ae3c628875 issue#2534, added _sling.Set in the go api 2016-04-11 10:37:50 -07:00
Guo Huang
963df24eee Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue1946 2016-04-11 10:19:49 -07:00
wing328
38903aa7f3 add support for python2 2016-04-12 00:43:13 +08:00
wing328
3e13f69b53 Merge pull request #2558 from wing328/master
[Go] update type mapping, fix indention in go model
2016-04-12 00:01:54 +08:00
wing328
d8963d0a85 udpate type mapping for go, fix indention in go model 2016-04-11 23:44:06 +08:00
wing328
c8f4edff68 Merge pull request #2554 from wing328/add_format_test
Add tests for different type and format for model's properties
2016-04-11 23:05:59 +08:00
wing328
0e1f1606cd update js code gen to handle different type, format 2016-04-11 22:20:30 +08:00
wing328
68cb030609 add new files for format test model 2016-04-11 22:11:53 +08:00
wing328
87af119d9a Merge pull request #2556 from hcwilhelm/model-option-scalatra
Model option scalatra
2016-04-11 21:26:10 +08:00
wing328
6c98a46bf1 Merge pull request #2555 from wing328/bug/doc_remove_isnotrequired
[Doc] minor fix to html doc
2016-04-11 21:11:52 +08:00
hcwilhelm
b2ee8d02a4 fix for optional field in scalatra client 2016-04-11 15:07:25 +02:00
hcwilhelm
659b216413 fix for optional field in scalatra client 2016-04-11 15:03:04 +02:00
wing328
1dc895e123 minor fix to html doc 2016-04-11 20:43:06 +08:00
wing328
f71334fe4a Merge pull request #2551 from hcwilhelm/asyncscala-handle-option
Fix handling optional fields in asyncscala client model
2016-04-11 20:40:02 +08:00
wing328
1c14fc7291 fix perl indention 2016-04-11 20:34:06 +08:00
wing328
1093698315 Merge pull request #2547 from jerry1621/csharp_sync_uwp
fix sync call for uwp
2016-04-11 19:48:21 +08:00
wing328
44a4219e3e fix swift mapping with int and number 2016-04-11 19:37:56 +08:00
hcwilhelm
9df6d19ddd Fix handling optional fields in asyncscala client model 2016-04-11 13:05:01 +02:00
wing328
6c7efd502b map bytearray to string in ts 2016-04-11 16:42:20 +08:00
Jerome Dreyer
e2941582fa fixed tab-spacing 2016-04-11 09:49:03 +02:00
wing328
b66540e12c Merge pull request #2537 from arnested/php-initialize-discriminator
[PHP] Set discriminator property in constructor
2016-04-11 14:28:06 +08:00
Jerome Dreyer
a8bbb37866 fix sync call for uwp 2016-04-11 08:24:18 +02:00
wing328
f5dd7ae031 Merge pull request #2518 from pixelshaded/feature/issue2274
Typescript Node: Support Multiple Api Key Auth Methods
2016-04-11 12:04:47 +08:00
Guo Huang
00fcf9946a issue #1946, added AddDefaultHeader method for GO 2016-04-10 20:50:53 -07:00
wing328
f304c3da8b Merge pull request #2544 from guohuang/issue1948
issue #1948, added missing apiresponse.go, renamed petapi_test.go, fixed compilation error
2016-04-11 10:51:01 +08:00
wing328
38bc120b12 Merge pull request #2427 from wing328/csharp_support_uwp
[C#] add UWP support to C# API client
2016-04-11 10:43:59 +08:00
Guo Huang
21d7c8d260 added missing apiresponse.go, renamed petapi_test.go, fixed compilation error 2016-04-10 15:04:29 -07:00
wing328
4942ebdc73 Merge pull request #2532 from guohuang/issue1948
issue #1948, added testing code to test go api
2016-04-11 01:05:20 +08:00
wing328
8e6bbf5625 update sample 2016-04-11 01:02:01 +08:00
wing328
e952e4435e fix system.web import 2016-04-11 00:59:48 +08:00
wing328
a6a88decfd add a switch for excluding system.web for ump support 2016-04-11 00:59:48 +08:00
wing328
91a2cc4b5d fix wording "beta support" 2016-04-11 00:59:48 +08:00
wing328
559e11e6d2 add uwp support 2016-04-11 00:59:47 +08:00
wing328
f66046c932 Merge pull request #2541 from wing328/csharp_remove_trailing_whitespace
[C#] remove trailing spaces from C# API client
2016-04-10 23:47:05 +08:00
wing328
f52f6c64a2 Merge pull request #2542 from wing328/restore_petstore_yaml
[Petstore] restore petstore.yaml from http://petstore.swagger.io/v2/swagger.json
2016-04-10 23:46:55 +08:00
wing328
5bc4570b57 Merge pull request #2540 from wing328/bug/fix_issue2523
[ObjC] fix spec with no model for ObjC API client
2016-04-10 23:23:25 +08:00
wing328
6f7e3c71f2 update go sample 2016-04-10 23:16:32 +08:00
wing328
9bd7a708ae fix typo in the spec 2016-04-10 23:14:02 +08:00
wing328
070d87a97c restore petstore.yaml 2016-04-10 23:11:42 +08:00
wing328
1cd3255be6 remove trailing space for csharp api client 2016-04-10 22:04:52 +08:00
wing328
8657720c09 fix spec with no model for objc client 2016-04-10 19:34:09 +08:00
Guo Huang
b16439e17b formatted code 2016-04-09 21:43:46 -07:00
Guo Huang
33491a7a8f added testify assert 2016-04-09 21:40:47 -07:00
Guo Huang
aa9e19f3d9 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue1948 2016-04-09 16:03:57 -07:00
Arne Jørgensen
747f6ba0bb Regenerate PHP petstore sample 2016-04-09 21:05:45 +02:00
Arne Jørgensen
65d677c385 Set discriminator property in constructor
When using inheritance let the constructor set the discriminator
property to the model name.

This avoids redundant and error prone stuff like:

```
  $animal = new \Swagger\Client\Model\Dog();
  $animal->setClassName('Dog');
```
2016-04-09 21:05:18 +02:00
wing328
c159239d1b Merge pull request #2529 from cobain/bugfix/issue2061_fix_DeprecationWarning_in_unit_tests
issue2061_fix_DeprecationWarning_in_unit_tests
2016-04-09 22:08:31 +08:00
wing328
5ea66f6762 Merge pull request #2484 from wing328/csharp_fix_constructor
[C#] fix extra comma in the constructor when last property is read-only
2016-04-09 21:14:30 +08:00
wing328
7cad373e2e Merge pull request #2528 from guohuang/issue1949
issue #1949 added Configuration struct for GO in codegen
2016-04-09 21:13:26 +08:00