3620 Commits

Author SHA1 Message Date
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
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
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
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
693f04db99 Merge pull request #2482 from wing328/objc_doc
[ObjC] Add auto-generated documentation (markdown) to ObjC API client
2016-04-09 19:01:15 +08:00
wing328
5522edac0c Merge pull request #2466 from wing328/nodejs_method_name
[NodeJS] fix operationId issue with Nodejs
2016-04-09 18:53:55 +08:00
wing328
15c2be2052 Merge pull request #2519 from fabdslv/issue-2509
Provide dependency javax.annotation for android with Retrofit 2
2016-04-09 18:42:40 +08:00
wing328
b08fb4e2f2 Merge pull request #2472 from wing328/python_auto_doc
[Python] automatically generate documentation (markdown) for Python API client
2016-04-09 18:41:14 +08:00
wing328
e7b85f0ce7 Merge pull request #2436 from ircecho/master
[Dart]: generator used underscored filenames but used non-underscored class names to import the files
2016-04-09 18:37:16 +08:00
wing328
8bded815bc Merge pull request #2478 from ircecho/dev3
[Dart]: now uses double instead of num to represent double
2016-04-09 18:30:03 +08:00
wing328
50bbd9818c Merge pull request #2465 from wing328/php_improvement
[PHP] minor php code improvement
2016-04-09 18:18:18 +08:00
wing328
0be18399b6 fix tos in swagger spec 2016-04-09 18:15:22 +08:00
wing328
02ac7d93c5 minor php code improvement 2016-04-09 17:59:28 +08:00
wing328
45e903b41b minor ruby code improvement 2016-04-09 17:47:21 +08:00
wing328
e5279203a1 Merge pull request #2434 from arnested/php-map-number-without-format
[PHP] Map number without format to float
2016-04-09 17:01:41 +08:00
wing328
e8c3b5e78c Merge pull request #2418 from scottrw93/i2410
Issue 2410: Suport HTTP body for DELETE operation
2016-04-09 16:58:01 +08:00
wing328
27afadbc6d Merge pull request #2417 from cjolif/int64
Generates Int32/Int64 for Swift when those are the required formats. …
2016-04-09 16:38:10 +08:00
wing328
f44e5faf1b add http info support for python 2016-04-08 22:00:27 +08:00
Guo Huang
316c2cb136 added Configuration struct for GO 2016-04-07 22:16:31 -07:00
Fabien Da Silva
efd68445db Provide dependency to javax.annotation.Generated for android with Retrofit 2
Fix #2509
2016-04-07 17:38:10 +02:00
wing328
c0f5bcabb5 add python doc 2016-04-07 23:18:15 +08:00
wing328
a9a229f113 add new objc doc file 2016-04-07 23:17:32 +08:00
Alexander Fisher
dd6b720e4d Encapsulate authentications. 2016-04-07 10:37:05 -04:00
Alexander Fisher
b5dabee20a Generate enum from api key auth methods. Use this to set api key of authentication. Update test client to set multiple keys. 2016-04-07 10:19:16 -04:00
Joseph Zuromski
b9bbbc6cad make sure to only escape an enum if the actual final variable name is going to match the enum name - now that we camelCase variable names this cuts down on the amount of enum escaping we have. 2016-04-06 15:20:38 -07:00
Tony Tam
90364b3d9c Merge pull request #2504 from hcwilhelm/asyncscala-fix-dependency
fixed swagger-async-httpclient lib dependency
2016-04-06 14:05:19 -07:00
Joseph Zuromski
fb705cb9fa fix issue 2512: crash w/ NPE when dereferencing networkStatus which could be nil on a volley timeout error 2016-04-06 13:24:59 -07:00
oskar
d45d36d8a2 Fixing broken enumeration swagger/json types for JaxRS-CXF templates. 2016-04-06 21:51:17 +02:00
Tony Tam
ed25943fae added jersey2 to services 2016-04-06 12:49:10 -07:00
hcwilhelm
fdd6805233 fixed swagger-async-httpclient lib dependency 2016-04-06 15:26:51 +02:00
Andrew Gibiansky
6d386aaa90 Fix a bunch of minor bugs in the Haskell generator 2016-04-05 17:47:23 -07:00
Andrew Gibiansky
b8d723b7ae Add run*Client functions to provide a way to run requests without Servant types 2016-04-05 12:54:04 -07:00
Andrew Gibiansky
18de12516d Update for newest Servant types 2016-04-05 12:02:28 -07:00
Andrew Gibiansky
80015a8a86 Allow passing just objects in APIs using Aesons Value type 2016-04-05 12:02:08 -07:00
Andrew Gibiansky
c49b22bcdd Remove dots and dashes from model names 2016-04-05 12:01:49 -07:00
Andrew Gibiansky
569d458bc9 Allow null title, as in Kubernetes Swagger Spec 2016-04-05 12:01:22 -07:00
wing328
c936f4b436 add oauth support to objc 2016-04-05 23:31:22 +08:00
Tony Tam
a1c978751a Merge pull request #2497 from swagger-api/issue-2496
sanitize tags, update generation timestamp
2016-04-05 07:40:11 -07:00
Tony Tam
03adae8e36 changed to use tag sanitization method 2016-04-05 07:08:32 -07:00
Andrew Gibiansky
512e51777d Update Haskell codegen to latest Stack LTS 2016-04-04 18:52:07 -07:00
Andrew Gibiansky
f28bbf251c Fix handling of special characters in Haskell codegen 2016-04-04 18:51:56 -07:00
Andrew Gibiansky
a694dfb8fb Create new Haskell codegen implementation. 2016-04-04 18:34:04 -07:00
wing328
122df5195a add petstore yaml 2016-04-04 16:17:45 +08:00
wing328
c2cab84612 fix typo, update sinatra to use origianl petstore spec (yaml) 2016-04-04 16:17:23 +08:00
wing328
aa805a4003 Merge pull request #2488 from swagger-api/feature/jersey2
Add jersey2 server support
2016-04-04 16:16:23 +08:00