geekerzp
8d0efd812c
updated unittests of python client
2015-05-22 15:50:09 +08:00
geekerzp
245ce642ce
add test cases for ApiClient.select_header_accept and
...
ApiClient.select_header_content_type of python client.
2015-05-22 15:28:36 +08:00
geekerzp
52807c0724
minor improvement to python client accept and content-type header
2015-05-22 10:45:38 +08:00
geekerzp
86e48ceef8
refactor python client using urllib3
2015-05-14 10:45:05 +08:00
geekerzp
3aa9982b23
Fixed issue that it will throw error when deserialize model in python client.
2015-04-23 18:19:08 +08:00
geekerzp
d053d464dd
Fixed encoding issue for request json body in python client.
2015-04-20 18:05:16 +08:00
geekerzp
10a9d298d7
Fixed request content-type in objc client.
...
In api.mustache the name of content-type is `Content-Type`,
but in swagger.mustache the name of content-type is `Content-type`.
2015-04-13 17:30:43 +08:00
geekerzp
24d5dc093f
Support unicode string in python client.
2015-04-07 15:33:05 +08:00
geekerzp
d4ac668cd4
Set default User-Agent for Python client.
2015-04-03 18:04:05 +08:00
Tony Tam
f265ce361a
Merge pull request #556 from FindTheBest/develop_2.0
...
Python Binding Request Headers
2015-03-31 15:58:34 -07:00
James Ebentier
ce700b9421
Fixing one more issue with the defaultHeaders merging and removing unnecessary code
2015-03-30 12:47:56 -07:00
James Ebentier
761ab22f08
Adding Self to setDefaultHeader method signature
2015-03-30 12:28:17 -07:00
geekerzp
8f6afda99a
fixed issue that query parameters double url encoded
2015-03-30 10:34:01 +08: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
geekerzp
07237f8eb9
add model attribute name json key mapping in python clent
2015-03-24 11:55:20 +08: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
geekerzp
f085860eb1
Update sanitizeForSerialization to sanitize parameters to Python client
...
* Refactor santizeForSerialzation to static method.
* Sanitize header/query/form/body parameters.
* Sanitize datetime.datetime and datetime.date to iso8601 format string.
* Sanitize swagger model to dict.
2015-03-21 14:58:32 +08:00
geekerzp
c024a4c099
use dateutil to parse string to datetime in python
2015-03-20 14:38:18 +08:00
James Ebentier
b2cfb77222
Python: fixing an issue in swagger python code generation where attribute classes aren't respected
2015-03-09 18:18:20 -07:00
Tony Tam
4daac48c6b
added readme, rebuilt client
2015-02-15 19:50:41 -08:00
Tony Tam
f942e82691
updated templates
2015-02-15 18:06:50 -08:00
James Ebentier
09bfecf76e
Python: adding in support for formParams as well as multipart-form requests
2015-02-06 11:32:15 -08:00
Tony Tam
6bb2e4ccb4
moved to modules per #411
2015-02-05 07:17:38 -08:00