Commit Graph

2123 Commits

Author SHA1 Message Date
Scott Williams
f59c43dffb Issue #2276 Auto generated test stubs 2016-04-27 20:53:48 +01:00
Arne Jørgensen
5d57bb1e62 [PHP] Regenerate petstore sample 2016-04-27 21:04:06 +02:00
Arne Jørgensen
7f99469efd [PHP] Add test case testing ArrayAccess interface
Test if we implement the ArrayAccess interface correct on out model objects.
2016-04-27 21:00:58 +02:00
wing328
87c6566bd0 mapped uuid to str in python 2016-04-27 17:37:44 +08:00
Silvio Heuberger
39c08b2cfc Regenrate samples after updating the libraries in pom and build.gradle mustache 2016-04-27 10:03:45 +02:00
Brian Hou
1361bb7c0b Fix ruby model boolean attributes 2016-04-26 10:21:16 -07:00
wing328
07d2374320 Merge pull request #2699 from mateuszmackowiak/feature/obj/jsonModel_deserialization_errors
#1907 JsonModel deserialization errors
2016-04-26 21:20:50 +08:00
Mateusz Mackowiak
18783e3fc7 #1907 JsonModel deserialization errors 2016-04-25 19:04:00 +02:00
wing328
875414ff64 add new ruby files 2016-04-26 00:32:01 +08:00
wing328
354449ebfe add validation to method parameters 2016-04-26 00:06:44 +08:00
wing328
0792ddc9b4 Merge pull request #2695 from wing328/model-min-max-pattern
[Ruby] Add more validation rules to Ruby models
2016-04-25 22:41:19 +08:00
wing328
4854b79a31 add pattern check to ruby model 2016-04-25 22:23:23 +08:00
wing328
0e58265eb5 use instance variable in validation rule 2016-04-25 21:52:37 +08:00
wing328
82ee716f53 Merge pull request #2692 from guohuang/apiclient_update
Rewrite Api_Client.go to use resty api
2016-04-25 21:34:39 +08:00
wing328
e17a620506 add methods to validate the ruby object 2016-04-25 19:18:05 +08:00
wing328
3c36f1df37 use ArgumentError in ruby model 2016-04-25 17:45:32 +08:00
wing328
ab986a7228 add more validation test for ruby model 2016-04-25 17:36:32 +08:00
wing328
e143c6cd2f add validation to ruby model 2016-04-25 17:07:42 +08:00
Kristof Vrolijkx
28f444e808 start adding packaging info to nodejs client. 2016-04-25 08:08:19 +02:00
Guo Huang
7599dcb112 changed Api to API based on golang's convention 2016-04-24 21:10:32 -07:00
Guo Huang
9f0ac5df82 added missing model api response md 2016-04-24 15:52:26 -07:00
Guo Huang
ea445c1e28 added missing file 2016-04-24 15:44:52 -07:00
wing328
d225da082c Merge pull request #2691 from wing328/add_required_optional_vars
Add requiredVars and optionalVars for codegen model
2016-04-24 21:21:34 +08:00
Kristof Vrolijkx
4ad7ea6556 Updating sample and scripts 2016-04-24 11:21:31 +02:00
wing328
fb883e5f03 add back groovy code generator 2016-04-24 16:33:15 +08:00
Guo Huang
1de18eb074 added implementation of the new ApiResponse struct 2016-04-23 17:50:17 -07:00
Guo Huang
7df5c8ffbf added model ApiResponse, moved ApiResponse parameter 2016-04-23 16:41:14 -07:00
Guo Huang
e7df5f9551 fixed multiple import mapping issue 2016-04-23 09:52:17 -07:00
wing328
a281afaebf add requiredVars and optionalVars for codegen model 2016-04-23 22:48:24 +08:00
wing328
f1d75f46cf fix #2688 2016-04-23 16:49:52 +08:00
wing328
5602cb6db8 Merge pull request #2676 from Vrolijkx/master
Typescript angular2 client can be published to npm
2016-04-23 14:58:28 +08:00
wing328
1ca246c4c8 update java version in pom for java api client 2016-04-23 12:59:36 +08:00
wing328
8c27f296fb update maven and gradle version for java api client 2016-04-22 23:13:12 +08:00
wing328
fb04bb7d4d Revert "Revert "[Java] Add auto-generated documentation in Markdown to Java clients"" 2016-04-22 10:13:54 +08:00
wing328
c171356d24 Revert "[Java] Add auto-generated documentation in Markdown to Java clients" 2016-04-22 00:21:04 +08:00
Kristof Vrolijkx
4c1c67cf2b Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-04-21 15:52:56 +02:00
Kristof Vrolijkx
9195e92023 using all config properties and adding extra space to package.mustache. 2016-04-21 15:52:43 +02:00
Kristof Vrolijkx
e118fddb47 generation of package.json and compilation files 2016-04-21 15:43:53 +02:00
wing328
a1a990804e Merge pull request #2671 from andriydruk/android_equals_hashcode_fix
[Android] fix equals and hashCode
2016-04-21 20:58:31 +08:00
xhh
ace9fc2ccc Merge branch 'master' into java-docs 2016-04-21 18:35:27 +08:00
xhh
f8489c1fcf Fix typo, regenerate Java petstore clients 2016-04-21 18:34:00 +08:00
Andriy Druk
7888205657
fix equals and hashcode for Android 2016-04-21 13:28:04 +03:00
xhh
ad258a34cc Fix test cases for Java petstore clients 2016-04-21 18:14:11 +08: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
Guo Huang
e555b3ad34 added debug setter and getter in Go configuration 2016-04-20 22:36:32 -07:00
Guo Huang
a2002d9148 added fileName parameter for upload method 2016-04-20 21:30:05 -07:00
Guo Huang
7636a772c6 fixed file upload issue 2016-04-20 13:49:02 -07:00
Guo Huang
10c7c41e82 added config to allow client to see debug log 2016-04-20 12:54:05 -07:00
Guo Huang
287f3ff20b fixed io/ioutil import issue, fixed param casing issue 2016-04-20 12:27:22 -07:00
wing328
8eb3f8a448 fix python property name 2016-04-20 22:12:09 +08:00
wing328
37600e1172 add default value to gem spec 2016-04-20 18:49:29 +08:00
wing328
1178d31d1f update petstore sample 2016-04-20 15:57:18 +08:00
Guo Huang
edfc4f88e1 formatted api_client code, grouped public function 2016-04-19 21:02:22 -07:00
wing328
bf15b2a43b Merge pull request #2650 from scottrw93/update-req-versions
Update required packages to latest stable version
2016-04-20 11:33:33 +08:00
wing328
e8f7af8985 Merge pull request #2647 from wing328/ruby_version_upgrade
[Ruby] update gem spec
2016-04-20 11:21:26 +08:00
Guo Huang
0e3bb2c23e added more tests functions, clean up generated code 2016-04-19 15:48:34 -07:00
Guo Huang
9cf6eb4d8b added ApiResponse to all api calls 2016-04-19 15:18:13 -07:00
Scott Williams
79bbab04ec Update required packages to latest stable version 2016-04-19 21:17:43 +01:00
Guo Huang
611b711a7e clean up generated code, added delete pet test 2016-04-19 12:52:51 -07:00
Arne Jørgensen
ecfb71a0df [PHP] Regenerated petstore sample 2016-04-19 21:32:11 +02:00
Guo Huang
fe1afc35e6 Removed fileParams as the file content will be posted via postBody, fixed file upload issue 2016-04-19 11:46:57 -07:00
wing328
ccc52c2554 update gem spec 2016-04-19 23:41:26 +08:00
xhh
a3f57d6cbd Escape model name in Java okhttp-gson client 2016-04-19 20:29:49 +08:00
xhh
f10d4c8e23 Merge branch 'master' into java-docs
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
	samples/client/petstore/java/default/pom.xml
	samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Animal.java
	samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Cat.java
	samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Dog.java
	samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Name.java
	samples/client/petstore/java/jersey2/src/main/java/io/swagger/client/model/Name.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Cat.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Dog.java
	samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Name.java
	samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Model200Response.java
	samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/ModelReturn.java
	samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Name.java
	samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Model200Response.java
	samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/ModelReturn.java
	samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Name.java
	samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/StringUtil.java
	samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Model200Response.java
	samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/ModelReturn.java
	samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Name.java
2016-04-19 20:19:10 +08:00
Kristof Vrolijkx
a69757ad73 #1809 adding samples with .sh and .bat scripts 2016-04-19 14:13:16 +02:00
Guo Huang
d0123f40b7 fixed go reflection type checking issue 2016-04-18 23:30:30 -07:00
Guo Huang
b57d27d3fc added isFile logic to generate file parameters 2016-04-18 23:15:26 -07:00
Guo Huang
2fcda964ad added ParameterToString method to handle string array issue 2016-04-18 23:06:18 -07:00
Guo Huang
af19a70f72 updated api_client.go to ensure there is value before setting the request 2016-04-18 17:09:47 -07:00
Guo Huang
36219a00e9 fix go build errors after upgrading to the new api client 2016-04-18 14:38:11 -07:00
Arne Jørgensen
dcccfa4b99 Fix class name in test cases 2016-04-18 22:10:35 +02:00
Guo Huang
8b896a2353 updated api.mustache to call the api client http request 2016-04-17 23:45:23 -07:00
Guo Huang
87f9ff189a Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into apiclient_update
# Conflicts:
#	modules/swagger-codegen/src/main/resources/go/api.mustache
2016-04-17 20:41:07 -07:00
wing328
cbccee9c39 update csharp doc with minor enhancements and bug fixes 2016-04-18 00:19:16 +08:00
wing328
8c0cff57ba Merge pull request #2595 from KevinGlinski/csharpdoc
[CSharp] Add auto-generated CSharp documentation in Markdown
2016-04-17 22:47:02 +08:00
wing328
e612870e89 add new files 2016-04-17 17:10:28 +08:00
wing328
70e42cb0db add new go files 2016-04-17 17:10:10 +08:00
wing328
993d121e35 update go test, update pom 2016-04-17 16:41:35 +08:00
wing328
8d450a29da Merge pull request #2608 from guohuang/issue2359
issue#2359: added README document generation for Go
2016-04-17 16:14:59 +08:00
wing328
9257c94985 Merge branch 'bug' of https://github.com/guohuang/swagger-codegen into guohuang-bug 2016-04-17 16:09:27 +08:00
wing328
8af6903757 Merge branch 'issue2611' of https://github.com/guohuang/swagger-codegen into guohuang-issue2611
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/GoClientCodegen.java
	samples/client/petstore/go/pet_api_test.go
2016-04-17 16:02:12 +08:00
Guo Huang
3118f932c8 added CallApiAsync method in api_client 2016-04-16 22:58:13 -07:00
Guo Huang
85d30191df fixed go build issue after removing swagger folder 2016-04-16 22:22:23 -07:00
Guo Huang
81a39990f4 Removed "packageName" folder for easy installation 2016-04-16 17:00:46 -07:00
Guo Huang
d72b501e40 added required parameters validation for Go 2016-04-16 16:43:04 -07:00
Guo Huang
a8273b9f08 changed code to use pacageVersion, removed unneeded comments 2016-04-16 15:47:34 -07:00
Guo Huang
c458834652 updated pom file, temporary disable unit test errors 2016-04-16 15:37:49 -07:00
wing328
8e85476cbb add new fles 2016-04-16 18:19:23 +08:00
wing328
e62ba9b35d update qt5cpp and tizen sample 2016-04-16 18:16:42 +08:00
wing328
1d5a0e5b33 update sample for JS closure angular 2016-04-16 18:11:40 +08:00
wing328
7d0c963469 update sample for html, flash 2016-04-16 17:51:12 +08:00
wing328
1fb3edc612 update akka-scala petstore, minor fix 2016-04-16 17:49:34 +08:00
Guo Huang
69150883c1 added pom.mustache to generate pom.xml 2016-04-15 14:57:47 -07:00
Guo Huang
7f4aa6f1fc issue#2611: added pom.xml for building Go 2016-04-15 10:53:23 -07:00
wing328
15971eda2e update test case for scala 2016-04-16 01:14:52 +08:00
wing328
0b42b533d9 add new files 2016-04-16 00:44:36 +08:00
wing328
79decc53a1 fix requireParameterCount in scala 2016-04-16 00:09:15 +08:00
wing328
c317f99466 fix required parameter in scala api client 2016-04-15 23:08:16 +08:00
wing328
87e542c69c replace requiredParam with reuqired 2016-04-15 22:54:46 +08:00
wing328
c575b3f498 Merge pull request #2587 from fabdslv/issue-2451
[Java + Android] Update dependencies and generate samples
2016-04-15 20:34:06 +08:00
Guo Huang
11f90de808 issue#2543: added api_client to set content-type and accept for http request 2016-04-14 16:11:14 -07:00
Guo Huang
5fad90c3f6 issue#2359: added README document generation for Go 2016-04-14 14:10:15 -07: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
4f84c7d3bc Merge pull request #2583 from cjolif/nilasdefault
make sure user is not forced to pass nil for optional parameters
2016-04-14 19:23:24 +08:00
wing328
aff2eab055 Merge pull request #2601 from wing328/python_update_spec
[Python] update python to use test spec
2016-04-14 18:59:13 +08:00
wing328
5a88b9e896 update python to use test spec 2016-04-14 18:30:54 +08:00
wing328
d260604d34 Merge pull request #2574 from pixelshaded/feature/HandleFalseyParams
[Typescript-Node] Verify required parameter is not undefined instead of falsey.
2016-04-14 17:52:38 +08:00
wing328
09af45c20f Merge pull request #2513 from jaz-ah/issue/2512
[Android] fix issue 2512: crash w/ NPE when dereferencing networkStatus which c…
2016-04-14 17:11:18 +08:00
wing328
31120590f5 regenerate csharp sample 2016-04-14 16:30:22 +08:00
wing328
5d4c68b98a new ruby file 2016-04-14 16:24:06 +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
wing328
aa04bbb92e update pet store test case for perl after switching spec 2016-04-14 16:19:39 +08:00
wing328
8f70230906 update ruby test case 2016-04-14 16:19:39 +08:00
wing328
d19ed8a89b fix php test cases with petstore test yaml 2016-04-14 16:19:38 +08:00
wing328
1b10a513ff Merge pull request #2594 from guohuang/issue2589
issue#2589: added fully qualified names memory stream for C#
2016-04-14 15:54:46 +08:00
Joseph Zuromski
7bbe4404d7 fix regression introduced in commit 00c97c8ff6 2016-04-14 00:44:30 -07:00
wing328
c702a6aaa4 regenerate go sample, rename configuration.go 2016-04-14 15:15:19 +08:00
Joseph Zuromski
d9cee4c269 update samples 2016-04-14 00:00:22 -07:00
wing328
c880928519 Merge pull request #2596 from jaz-ah/swift/spacing
[Swift] minor spacing cleanup in Models.mustache
2016-04-14 14:55:02 +08:00
Joseph Zuromski
8331aac869 Merge branch 'master' into issue/2512 2016-04-13 23:37:45 -07:00
Joseph Zuromski
86a7637010 [Swift] minor spacing cleanup in Models.mustache 2016-04-13 23:36:16 -07:00
wing328
994a77573d Merge pull request #2592 from guohuang/issue2582
issue#2582: change go api file name to snake case
2016-04-14 14:35:59 +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
Guo Huang
ad1bb22661 fixed model file name to be snake case 2016-04-13 22:26:03 -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
Guo Huang
2dca8b003d issue#2589: added fully qualified names memory stream for C# 2016-04-13 16:56:36 -07:00
Guo Huang
1f085ccd52 isssue#2579: added "UserAgen" in configuration 2016-04-13 16:08:14 -07:00
Guo Huang
eb7d3dfe15 issue#2582: change go api file name to snake case 2016-04-13 15:40:11 -07:00
Fabien Da Silva
06f6bcb57d [Java + Android] Update generated samples 2016-04-13 17:28:11 +02:00
Fabien Da Silva
4f8bbea660 [Android] Update build.gradle and pom.xml in Java libraries
Fix #2451
2016-04-13 14:39:20 +02:00
Christophe Jolif
fca0d0f0f7 make sure user is not forced to pass nil for optional parameters 2016-04-13 11:14:48 +02:00
Guo Huang
2a2f8b1338 removed local variable declaration in Go 2016-04-12 20:50:58 -07:00
Guo Huang
6b92362735 remove unneeded function line 2016-04-12 20:20:32 -07:00
wing328
acdccdb4cb Merge pull request #2567 from guohuang/issue2535
issue #2535, added authentication header for GO
2016-04-13 09:38:26 +08:00
Alexander Fisher
da5a15b8e5 Favor explicit check for null or undefined for clarity sake. 2016-04-12 11:28:47 -04:00
Alexander Fisher
0ad7e715c4 Update error message to be clear on exact problem. 2016-04-12 11:18:23 -04:00
Alexander Fisher
f20605d90e Verify parameter is not undefined instead of falsey. 2016-04-12 08:56:28 -04:00
wing328
cd91f457bf Merge pull request #2571 from wing328/objc-docstring
[ObjC] update docstring in ObjC API header files
2016-04-12 16:02:39 +08:00
wing328
221e6ad57a Merge pull request #2570 from wing328/fix_indention
Fix indention in the generated code
2016-04-12 16:00:18 +08:00
wing328
feee8de4be udpate docstring in objc 2016-04-12 15:33:40 +08:00
wing328
16a20f6194 update perl indention 2016-04-12 14:51:18 +08:00
Guo Huang
4e6ff1a567 added api prefix for authentication 2016-04-11 22:25:02 -07:00
wing328
b34c9dd7ee fix indention in c# 2016-04-12 12:42:09 +08:00
Guo Huang
7fda8699b1 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into issue2535
# Conflicts:
#	modules/swagger-codegen/src/main/resources/go/configuration.mustache
#	samples/client/petstore/go/swagger/Configuration.go
2016-04-11 20:17:57 -07:00
wing328
fb8c001075 Merge pull request #2562 from guohuang/issue2548
issue #2548, added docstring to Go model and its properties
2016-04-12 10:49:19 +08:00
Guo Huang
fc80bce82f issue #2535, added authentication header for GO 2016-04-11 15:49:13 -07:00
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
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
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
1c14fc7291 fix perl indention 2016-04-11 20:34:06 +08:00
wing328
44a4219e3e fix swift mapping with int and number 2016-04-11 19:37:56 +08:00
wing328
6c7efd502b map bytearray to string in ts 2016-04-11 16:42:20 +08: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
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
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
6f7e3c71f2 update go sample 2016-04-10 23:16:32 +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
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
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
50bbd9818c Merge pull request #2465 from wing328/php_improvement
[PHP] minor php code improvement
2016-04-09 18:18:18 +08:00
wing328
290957f6c8 update php sample 2016-04-09 18:05:40 +08:00
wing328
02ac7d93c5 minor php code improvement 2016-04-09 17:59:28 +08:00
wing328
e3c73f5819 update ruby sample 2016-04-09 17:55:52 +08:00
wing328
074ae7e95d update ruby sample 2016-04-09 17:47:45 +08:00
wing328
45e903b41b minor ruby code improvement 2016-04-09 17:47:21 +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
Guo Huang
1f39a4d3a9 issue #1948, added testing code to test go api 2016-04-08 14:04:49 -07:00
zhenghaitao
bf15c88811 issue2061_fix_DeprecationWarning_in_unit_tests 2016-04-08 15:18:42 +08:00