Commit Graph

2505 Commits

Author SHA1 Message Date
Mateusz Mackowiak
fa68f84ec6 - Remove petsotre demo leftovers
- Moved description method to basic class
2016-05-06 12:35:02 +02:00
xhh
5acef6d634 Update petstore sample for JS-promise client 2016-05-06 18:02:32 +08:00
xhh
3dbab1b893 JavaScript client: fix exporting of outer enum model 2016-05-06 17:45:03 +08:00
Mateusz Mackowiak
385bf6d9ea Additional UnknownResponseObjectErrorCode if response object expected type is an unknown type 2016-05-06 11:41:30 +02:00
wing328
db65a1526f Merge pull request #2761 from kolyjjj/upgradeswaggertools
[koly] update swagger tools to 0.10.1
2016-05-06 17:18:32 +08:00
wing328
ce4a976916 Merge pull request #2775 from guohuang/tests
fixed array return type return as pointer issue
2016-05-06 17:07:02 +08:00
Mateusz Mackowiak
65d85b7760 ResponseDeserializer for separating deserialization and service logic 2016-05-06 10:46:03 +02:00
wing328
3a80a4ff1e fix double byte characters in description, upgrade to lang3 2016-05-06 16:36:45 +08:00
Takuro Wada
724c25728e Move @angular dependencies to peerDependencies 2016-05-06 16:04:24 +09:00
wing328
1dd8faf8b7 Merge pull request #2783 from GriffinSchneider/patch-1
Replace 'BEARER' with 'Bearer' everywhere for RFC6750 compliance.
2016-05-06 15:01:22 +08:00
wing328
ac2cb647b5 Merge branch 'php-fix-array-handling' of https://github.com/arnested/swagger-codegen into arnested-php-fix-array-handling
Conflicts:
	modules/swagger-codegen/src/main/resources/php/model.mustache
	samples/client/petstore/php/SwaggerClient-php/README.md
	samples/client/petstore/php/SwaggerClient-php/docs/FormatTest.md
	samples/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Animal.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/ApiResponse.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Cat.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Category.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Dog.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/FormatTest.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Model200Response.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/ModelReturn.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Name.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Order.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Pet.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/SpecialModelName.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/Tag.php
	samples/client/petstore/php/SwaggerClient-php/lib/Model/User.php
2016-05-06 10:46:36 +08:00
Griffin Schneider
e5ab34b658 Replace 'BEARER' with 'Bearer' everywhere.
RFC6750 indicates that the correct header format is 'Bearer <token>',
not 'BEARER <token>'.
2016-05-05 16:14:45 -04:00
Guo Huang
ebdf12bcd4 fixed code gen using {{#isListContainer}}*{{/isListContainer}} field 2016-05-05 11:41:58 -07:00
wing328
e04c4ec640 add typescript-fetch client generator 2016-05-05 17:12:28 +08:00
wing328
3b8a66bb8c rename spsringboot sh, change permission, add ModelApiResponse.java 2016-05-05 15:31:17 +08:00
wing328
3dccc7d2a1 Merge branch 'SpringBootServer' of https://github.com/diyfr/swagger-codegen into diyfr-SpringBootServer 2016-05-05 15:28:10 +08:00
abcsun
22ea2d87e0 add validation to model 2016-05-05 11:41:14 +08:00
Guo Huang
82770e9566 Issue #2756: add null checking to avoid null exception 2016-05-04 13:22:46 -07:00
Guo Huang
41b7649e62 fixed array return type return as pointer issue 2016-05-04 10:39:30 -07:00
diyfr
8209653fb0 Add SpringBoot server generator 2016-05-04 16:38:36 +02:00
黄真俊
e868690c03 add pom.xml based on build.gradle for android api client( using the volley HTTP library ); 2016-05-04 19:51:53 +08:00
kolyjjj
98a2a22abf [koly] generate nodejs codes 2016-05-04 17:56:02 +08:00
Takuro Wada
366c7d6917 Add Opeiontal decorator to basePath 2016-05-04 18:38:54 +09:00
Takuro Wada
949da93a05 Update typescript-angular2 client to adopt to rc 2016-05-04 17:19:00 +09:00
wing328
27b8d1af81 Merge branch 'tests' of https://github.com/guohuang/swagger-codegen into guohuang-tests
Conflicts:
	samples/client/petstore/go/pet_api_test.go
2016-05-04 10:21:38 +08:00
wing328
4117608654 Merge pull request #2749 from guohuang/pointer
changed go client to return object pointer
2016-05-04 10:17:07 +08:00
wing328
dc262a3567 Merge pull request #2765 from Vrolijkx/master
Reverting remove of client.ts in typescript-node
2016-05-04 09:57:21 +08:00
wing328
8181720397 Merge branch 'bherila-typescript-es6-promises' of https://github.com/wing328/swagger-codegen into wing328-bherila-typescript-es6-promises
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
2016-05-04 09:54:42 +08:00
Guo Huang
60ee308da5 added assert to check response status match the query 2016-05-03 11:55:51 -07:00
Kristof Vrolijkx
a98c58a76f Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-05-03 20:55:28 +02:00
Kristof Vrolijkx
9fb85ae8fe removing comment 2016-05-03 20:36:24 +02:00
Guo Huang
035ee18ba4 fixed testing issue 2016-05-03 10:27:27 -07:00
Guo Huang
a5b08a8ce7 fixed merge conflict 2016-05-03 10:16:47 -07:00
Guo Huang
3168de5f74 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen into pointer
# Conflicts:
#	modules/swagger-codegen/src/main/resources/go/api.mustache
#	samples/client/petstore/go/go-petstore/pet_api.go
#	samples/client/petstore/go/go-petstore/store_api.go
#	samples/client/petstore/go/go-petstore/user_api.go
2016-05-03 10:03:48 -07:00
wing328
bed21e418b Merge pull request #2508 from wing328/php_enum
[PHP][C#] better enum support
2016-05-03 20:09:51 +08:00
diyfr
9604257649 #2742 Issue multiple methods if use multi tags 2016-05-03 13:45:31 +02:00
wing328
982a035cc1 add better enum support to swift 2016-05-03 18:12:35 +08:00
wing328
40815f5f00 Merge pull request #2746 from guohuang/tests
added user api test
2016-05-03 16:57:02 +08:00
wing328
6b0b343b92 add option to support ES6 2016-05-03 16:42:02 +08:00
Kristof Vrolijkx
ea8516d747 Readding client.ts 2016-05-03 08:39:39 +02:00
wing328
333a5edeae Merge branch 'typescript-es6-promises' of https://github.com/bherila/swagger-codegen into bherila-typescript-es6-promises 2016-05-03 14:29:52 +08:00
wing328
acb34e3db0 better JS enum class support 2016-05-03 11:21:17 +08:00
wing328
d35e30d578 better enum support for JS 2016-05-03 11:21:17 +08:00
wing328
6e8a19bc5b fix enum for jaxrs and resteasy 2016-05-03 11:20:45 +08:00
wing328
8f2573f8a7 add new files for retrofit2rx 2016-05-03 11:20:45 +08:00
wing328
fc982d1205 add new files for java petstore 2016-05-03 11:20:44 +08:00
wing328
6370165912 fix retrofit 1, 2 java sample 2016-05-03 11:19:59 +08:00
wing328
3913388331 fix java okhttp enum mismatche tab 2016-05-03 11:19:59 +08:00
wing328
70b25a682d fix java default and feign sample 2016-05-03 11:19:59 +08:00
wing328
0310d95800 fix csharp enum issue after rebase 2016-05-03 11:19:19 +08:00
xhh
4419e71d4b improve enum support in java okhttp-gson client 2016-05-03 11:16:05 +08:00
xhh
8588c5ce0a add enum support to java 2016-05-03 11:16:05 +08:00
wing328
2942ef8b73 add double enum support to C# 2016-05-03 11:16:05 +08:00
wing328
a7ca0ad11f add enum number support to php 2016-05-03 11:16:05 +08:00
wing328
531b536ffb add enum number support to C# 2016-05-03 11:15:40 +08:00
wing328
00e15b76ec clean up post process model in csharp, add default value for enum 2016-05-03 11:14:45 +08:00
wing328
45f3cfd5cf better enum support for csharp 2016-05-03 11:14:45 +08:00
wing328
217d93401b better php enum naming 2016-05-03 11:14:45 +08:00
wing328
11deb43829 add enum class support to php 2016-05-03 11:14:45 +08:00
wing328
2c9e9ee425 fix getter for allowableValues for php enum 2016-05-03 11:14:45 +08:00
wing328
800a858acb add enum support to php, refactor post process model enum 2016-05-03 11:14:44 +08:00
wing328
f2d180f9a8 Merge pull request #2754 from wing328/add_uuid_mapping
Add uuid mapping
2016-05-03 11:13:45 +08:00
Ben Herila
6c3701a403 ES6-ify typescript promises, update tests, remove bluebird dependency in favor of ES6 promises 2016-05-02 18:49:39 -07:00
Neil O'Toole
803c62e0dc fixed new line issue 2016-05-02 15:53:19 +01:00
wing328
2111e9ef8d add new sample files 2016-05-02 22:41:50 +08:00
wing328
d64af1b836 fix typescript tmeplate folder 2016-05-02 22:16:07 +08:00
wing328
d6158c4c55 fix uuid for java, php, ruby and csharp 2016-05-02 22:06:33 +08:00
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
7d8df7ef93 Merge remote-tracking branch 'origin/master' into csharp_default_paths 2016-05-01 20:16:47 -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
Neil O'Toole
5fdf615de7 Issue #2478 - generated code now conforms more closely to conventions 2016-05-01 14:41:40 +01:00
Guo Huang
56d1b896b7 enable testing array after resty fixed their issue 2016-04-30 23:35:04 -07:00
Guo Huang
e6fb2507a4 changed go client to return object pointer 2016-04-30 23:18:59 -07:00
wing328
ab7b73ca21 update js samples 2016-05-01 12:09:23 +08:00
wing328
2d5cc50bd1 Merge branch 'master' of https://github.com/demonfiddler/swagger-codegen into demonfiddler-master
Conflicts:
	samples/client/petstore/javascript-promise/README.md
	samples/client/petstore/javascript-promise/docs/PetApi.md
	samples/client/petstore/javascript-promise/docs/StoreApi.md
	samples/client/petstore/javascript-promise/src/api/PetApi.js
	samples/client/petstore/javascript-promise/src/index.js
	samples/client/petstore/javascript/README.md
	samples/client/petstore/javascript/docs/PetApi.md
	samples/client/petstore/javascript/docs/StoreApi.md
	samples/client/petstore/javascript/src/api/PetApi.js
	samples/client/petstore/javascript/src/index.js
2016-05-01 12:05:49 +08:00
wing328
8d9a09efb1 update JS test case 2016-04-30 21:36:25 +08:00
wing328
7f09a86a1e update wording related to git 2016-04-30 20:23:35 +08:00
wing328
83567861e0 update JS readme to use gitUserId instead 2016-04-30 20:15:45 +08:00
Guo Huang
09248bcd25 added comments for skip test 2016-04-29 16:17:18 -07:00
Guo Huang
ed219f8a9a fix typo 2016-04-29 16:10:10 -07:00
Guo Huang
ad28879fce changed tabs to spaces 2016-04-29 16:02:41 -07:00
Guo Huang
a6e45bf97d added user api test 2016-04-29 15:59:21 -07:00
wing328
02e898816f Merge pull request #2740 from wing328/ruby_not_overwrite_test
[Ruby] skip overwriting ruby spec files
2016-04-30 00:21:18 +08:00
wing328
cd377ba69c Merge pull request #2732 from guohuang/package-name2
added packageName in the codegen option
2016-04-29 22:33:50 +08:00
wing328
92d39ec0ab Merge pull request #2738 from Vrolijkx/master
Adding generation of packaging information for typescript nodeJs app.
2016-04-29 22:30:54 +08:00
wing328
3bcd937270 Merge pull request #2720 from diyfr/Update-to-Springfox-2.4
Update SpringMVC model to Springfox 2.4.0
2016-04-29 17:54:12 +08:00
wing328
b021bd5ed8 Merge pull request #2737 from guohuang/pom-update
updated reference to use go-resty
2016-04-29 17:47:23 +08:00
wing328
0612255f95 Merge pull request #2728 from guohuang/import_bug
Issue #2725: added condition to import json based on return type
2016-04-29 17:03:52 +08:00
wing328
f0906bd19a Merge pull request #2733 from abcsun/php_parameter_validation
[PHP] add parameter validation in methord call
2016-04-29 16:56:52 +08:00
Kristof Vrolijkx
de5363c21b Correcting author 2016-04-29 08:49:48 +02:00
Guo Huang
20bb1aa869 added test.go.bak 2016-04-28 21:43:14 -07:00
Guo Huang
2cb498d9fb renamed file 2016-04-28 21:42:04 -07:00
Guo Huang
0d0ff13e83 added test.go backup file 2016-04-28 21:39:56 -07:00
wing328
90442db86d skip overwriting ruby spec files 2016-04-29 11:10:52 +08:00
abcsun
72120099b4 change the validation to allParams 2016-04-29 11:04:27 +08:00
wing328
6b3735e58d Merge pull request #2727 from scottrw93/test-cases
Add test cases for Python Client
2016-04-29 10:18:53 +08:00
Kristof Vrolijkx
a804738e8d Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-04-28 21:55:21 +02:00
Kristof Vrolijkx
db7a56a16f fixing sample and typscript compile. 2016-04-28 21:54:48 +02:00
Guo Huang
619e9f17a0 updated reference to use go-resty 2016-04-28 10:09:04 -07:00
diyfr
bb3dbb1d1b Confuse with maven version package (javax:javax.servlet-api &&
javax:servlet-api )
2016-04-28 15:10:39 +02:00
diyfr
4921ee8c4c Update javax-servlet-api 3.0(missing in repo maven) to 3.0.1 2016-04-28 13:57:18 +02:00
diyfr
1836f4e8c6 Generate springmvc sample petstore 2016-04-28 10:55:48 +02:00
diyfr
31f5675e72 Create windows script for spring-mvc-petstore-j8-async-server sample 2016-04-28 10:37:55 +02:00
diyfr
2d0a5210db Create Windows Script for Pet Sample with springMVC 2016-04-28 10:17:44 +02:00
Andrew Z Allen
8a330e9dad Improve type checking for closure-angular
Closure angular now has more accurate type checking enabled.
2016-04-28 06:16:43 +00:00
Guo Huang
8caa8abfc1 added packageName in the codegen option 2016-04-27 22:47:57 -07:00
wing328
f1ba6f5598 Merge pull request #2479 from ergon/feature/update-mainline-retrofit
Update retrofit2 and retrofit2rx to use retrofit 2.0.1
2016-04-28 11:44:55 +08:00
abcsun
fbde7f88ee add parameter validation in methord call 2016-04-28 10:39:54 +08:00
Scott Williams
1674ec3799 Fix generated test directory name conflicting with sample test directory name 2016-04-27 22:53:22 +01:00
Guo Huang
2f8a8c05e0 Issue #2725: added condition to import json based on return type 2016-04-27 14:29:05 -07:00
Kristof Vrolijkx
fbbcdab439 fixing generation of incorrect package, typings and tsconfig 2016-04-27 23:11:39 +02:00
Scott Williams
066baf3c16 Update comments in generated unit test stubs 2016-04-27 22:02:48 +01:00
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
ebab222c63 add new file for jaxrs resteasy 2016-04-22 19:56:01 +08:00
wing328
7419d8634b update jaxrs and jaxrs-resteasy petstore sample 2016-04-22 19:34:48 +08:00
wing328
920dbb2183 regenerate petstore sample for springmv 2016-04-22 17:55:02 +08:00
wing328
2f365b0a16 add new model file 2016-04-22 17:38:00 +08:00
wing328
a63dbeb4c8 fix bug related to api, model doc for java server generator 2016-04-22 17:05:22 +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
56ac576a18 Merge pull request #2658 from wing328/php_lumen
[PHP] Add PHP Lumen generator
2016-04-20 21:21:34 +08:00
abcsun
2a67161a3d move the lumen generator to corresponding folder 2016-04-20 20:57:04 +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
5a06fc2119 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-04-17 17:52:45 +08:00
wing328
00aaf57f55 update springmvc sample 2016-04-17 17:51:22 +08:00
wing328
a0b429d690 Merge branch 'issue2374' of https://github.com/kolyjjj/swagger-codegen into kolyjjj-issue2374
Conflicts:
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiException.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiOriginFilter.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiResponseMessage.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/NotFoundException.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/PetApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/StoreApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/UserApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/SwaggerConfig.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/SwaggerUiConfiguration.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/WebApplication.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/WebMvcConfiguration.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/ApiResponse.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Category.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Order.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Pet.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Tag.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/User.java
2016-04-17 17:47:58 +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