11973 Commits

Author SHA1 Message Date
xhh
90db8e2147 Add setUserAgent method to Java and Android clients 2015-03-29 09:55:20 +08:00
xhh
65883a5d85 Set default User-Agent for Java and Android clients 2015-03-29 09:55:19 +08:00
Tony Tam
49e9c74324 Merge pull request #572 from swagger-api/issue-567
Issue 570
2015-03-28 10:46:17 -07:00
Tony Tam
92621f2f2d fix for issue 567, added reserved words, rebuilt client 2015-03-28 10:41:51 -07:00
William Cheng
836f7ecb95 rebase with develop_2.0 2015-03-28 22:55:15 +08:00
MerkushevKirill
0dcd307333 update docs and bash about CLI usage, deprecate old cli classes
(after #547)
2015-03-28 12:34:44 +03:00
William Cheng
a12cc1c544 remove {{newline}} as it has no impact at all 2015-03-28 16:43:16 +08:00
William Cheng
27e1b1c4b2 update java doc 2015-03-28 16:43:15 +08:00
Tony Tam
0686a91690 updated camelize function for #567 2015-03-27 23:18:54 -07:00
Tony Tam
99271e77ab added multi-param args 2015-03-27 22:55:06 -07:00
Tony Tam
c9a2a14da5 added queryParamCollection 2015-03-27 22:17:50 -07:00
gandrianakis
7eba8670e3 Switched SingleClientConnManager with ThreadSafeClientConnManager.
The SingleClientConnManager cannot be used safely in multi-threaded environments
2015-03-27 18:41:16 +02:00
William Cheng
bdd1d1621f remove {{newLine}} and replace tab wtih 2 spaces 2015-03-27 23:55:26 +08:00
William Cheng
6ab51bcb4e remove tab with 2 spaces in php api template 2015-03-27 23:11:13 +08:00
William Cheng
1c547e9598 update php documentation 2015-03-27 22:40:59 +08:00
geekerzp
19c05eefab Merge branch 'develop_2.0' into develop_2.0_objc_jsonmodel
Conflicts:
	pom.xml
2015-03-27 17:27:58 +08:00
Tony Tam
5d6d563a8e updated versions 2015-03-26 23:17:17 -07:00
Tony Tam
287bb7d936 fixed builder, error msg 2015-03-26 23:09:47 -07:00
Tony Tam
ddb1d6e0d3 removed 404 handling 2015-03-26 23:09:29 -07:00
Tony Tam
8b98a92805 adds tests, fixes for java templates 2015-03-26 20:32:59 -07:00
William Cheng
3d53cfc298 better ruby method argument format 2015-03-27 02:11:49 +08:00
William Cheng
fb2ab79455 update ruby doc 2015-03-27 02:11:49 +08:00
geekerzp
fbe069cf5c add jsonmodel in objective-c client 2015-03-26 10:07:33 +08:00
Tony Tam
b7c2c3448e renamed package 2015-03-25 12:12:04 -07:00
James Ebentier
bf46da7c14 Python: modifying request headers in ApiClient to act like those in Java and PHP 2015-03-25 11:44:46 -07:00
Tony Tam
d2f5b9ea65 added recursion check 2015-03-25 11:11:04 -07:00
Tony Tam
b36f3c98ca Merge pull request #547 from lanwen/cli
add - new command line interface in distribution module
2015-03-24 20:34:34 -07:00
Tony Tam
56104566fc added void response 2015-03-24 19:57:51 -07:00
Tony Tam
30acfc1869 added sys property 2015-03-24 19:56:38 -07:00
Tony Tam
2ce0049ce4 updated templates to fix petstore build error 2015-03-24 19:56:28 -07:00
Tony Tam
e82ecf695d added array support 2015-03-24 19:56:04 -07:00
Tony Tam
31418b3936 added property for app name 2015-03-24 17:12:20 -07:00
Tony Tam
b8cd52aa07 Merge pull request #540 from lanwen/develop_2.0
rft - only codestyle, remove wildcard imports and use string-utils from apache
2015-03-24 16:56:01 -07:00
Tony Tam
16403950d5 Merge pull request #545 from wing328/ruby_better_naming
Update ruby codgen for better naming convention
2015-03-24 16:53:20 -07:00
MerkushevKirill
8ba444141e add - new command line interface in distribution module
can replace Codegen and MetaGenerator classes. Provides a bit different cli interface
based on refactored pom from #541,
affects #349

```
usage: swagger <command> [<args>]

The most commonly used swagger commands are:
    generate   Generate code with chosen lang
    help       Display help information
    langs      Shows available langs
    meta       MetaGenerator. Generator for creating a new template set and configuration for Codegen.  The output will be based on the language you specify, and includes default templates to include.
 ```
  **generate** and **meta** commands have same as current cli options
2015-03-25 01:59:55 +03:00
William Cheng
fb3e44ecc4 break down ruby reservedWord list into multiple lines 2015-03-24 16:34:41 +08:00
William Cheng
8107162540 update ruby codgen for better naming convention 2015-03-24 16:24:31 +08:00
MerkushevKirill
ee096569c4 rft - only codestyle with indents, remove wildcard imports and use string-utils from apache 2015-03-24 11:13:01 +03:00
geekerzp
07237f8eb9 add model attribute name json key mapping in python clent 2015-03-24 11:55:20 +08:00
Wanny
915fcf9b92 fix cleanup 2015-03-23 16:08:26 -07:00
Wanny
31e8d58b1d fix StringIndexOutOfBoundsException when tag is not provided 2015-03-23 15:29:39 -07:00
Tony Tam
823ac04abb Merge pull request #534 from Juliens/master
add version in properties
2015-03-23 08:47:06 -07:00
William Cheng
fd602af180 better naming convention for android-java codegen 2015-03-23 15:41:24 +08:00
Tony Tam
048bea6249 Merge pull request #535 from wing328/java_beter_naming
Better variable and model property naming for Java
2015-03-22 21:19:01 -07:00
Tony Tam
f1f9805a01 Merge pull request #527 from geekerzp/develop_2.0_python
Support iso8601 datetime format in Python client
2015-03-22 19:35:18 -07:00
William Cheng
62d28ebca5 better variable and model property naming for java 2015-03-22 23:24:43 +08:00
Julien SALLEYRON
c46f3f9ee4 add version in properties 2015-03-21 20:12:44 +01:00
Tony Tam
f008b75e99 Merge pull request #528 from wing328/php_better_variable_naming
PHP better naming convention
2015-03-21 08:18:46 -07:00
Tony Tam
38204b2237 Merge pull request #531 from geekerzp/develop_2.0_python_datetime
Update santizeForSerialization to normalize parameters for Python client
2015-03-21 08:18:00 -07:00
xhh
b5a4d5be04 Add support of form parameter to Android client
* Handle form parameters in a way similar to Java client.
* Handle file uploading.
* Normalize query, header and form parameters with the
  ApiInvoker.parameterToString method, which formats Date value to ISO 8601.
2015-03-21 22:20:28 +08:00