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
Wanny
2301e604b3
clean up README.md
2015-03-20 13:53:07 -07:00
Wanny
34eab98ce4
Merge branch 'develop_2.0' into add_springdox
2015-03-20 13:47:08 -07:00
Wanny
00c1018d79
add basi Springdox server generation
2015-03-20 13:45:01 -07:00
William Cheng
c36e5a96fe
update php codegen with better naming convention
2015-03-20 21:56:41 +08:00
geekerzp
c024a4c099
use dateutil to parse string to datetime in python
2015-03-20 14:38:18 +08:00
Tony Tam
cdf8648d3b
made noservice option
2015-03-19 14:59:32 -07:00
Tony Tam
ae1d43dc84
added more instructions, service template
2015-03-19 14:47:43 -07:00
Tony Tam
531e2d7032
added example generator, updated signatures to match
2015-03-19 14:45:22 -07:00
Tony Tam
32fe6b0333
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-19 09:04:16 -07:00
Tony Tam
75714ac518
added default for filename generation
2015-03-19 09:04:12 -07:00
Tony Tam
8262d30202
Merge pull request #459 from geoand/objc-dictionary-fix-dev2_0
...
Fixed bug that prevented Objective-C code from compiling when using a Sw...
2015-03-19 08:52:25 -07:00
Tony Tam
d332cdf200
Merge pull request #522 from wing328/ruby_user_agent
...
Fix User-Agent in Ruby API cleint
2015-03-19 08:32:59 -07:00
William Cheng
ab8d62214a
add attributemap to php model, update php petstore sample
2015-03-19 20:58:22 +08:00
William Cheng
02283fae46
udpate ruby api client to support user-agent
2015-03-19 17:09:27 +08:00
gandrianakis
c82b31aa61
Reintroduce objc dictionary fix to updated develop_2.0 branch
2015-03-19 11:07:54 +02:00
gandrianakis
37303745df
Merge branch 'develop_2.0' into objc-dictionary-fix-dev2_0
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java
2015-03-19 10:59:47 +02:00
gandrianakis
e5357df67a
Merge remote-tracking branch 'upstream/master' into objc-dictionary-fix-dev2_0
2015-03-19 10:45:27 +02:00
Tony Tam
c109c11bea
added yaml output
2015-03-18 23:26:45 -07:00
Tony Tam
3a8c798596
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-18 23:25:48 -07:00
Tony Tam
9311bdf972
added yaml generator
2015-03-18 23:24:47 -07:00
Tony Tam
95e7265bd7
Merge pull request #498 from burmanm/issue_495
...
Fix NPE with resourcePath = /, issue #495
2015-03-18 22:58:45 -07:00
Tony Tam
93afc3bd95
Merge pull request #516 from wing328/ruby_header_param
...
Bug fix for ruby header parameter and better code format
2015-03-18 22:58:31 -07:00
Tony Tam
6b1f176a66
Merge pull request #417 from Helmsdown/additional-codegen-properties
...
Add API Version to Codegen Additional Properties
2015-03-18 17:05:59 -07:00
Tony Tam
f2ee9b39e9
Merge pull request #519 from swagger-api/feature/swagger-tools
...
updated nodejs server to swagger-tools, supports 2.0 spec
2015-03-18 16:30:57 -07:00
Tony Tam
b6e5c55817
updated nodejs server to swagger-tools, supports 2.0 spec
2015-03-18 16:10:54 -07:00
Camille Chafer
081757c592
headers list is CodegenResponse is always defined (no null list)
2015-03-18 19:01:45 +01:00
Camille Chafer
ac78c15fbf
Add defined response headers in CodegenResponse. at this time, only the headers of the 'default' response are included in the operation.
2015-03-18 18:38:27 +01:00
Tony Tam
dd78de1ed8
updated basePath, contextPath
2015-03-18 09:34:38 -07:00
xhh
f8a5e900f8
Add parameterToString to normalize parameters for Java client
...
* Convert values to string for query/header/form parameters.
* For parameter of type Date, convert to ISO 8601 format.
* Also add utility methods to parse date in ISO 8601 format.
2015-03-18 18:58:13 +08:00
William Cheng
d0dcb2fb43
fix bug with ruby header parameter, remove extra linebreak in generated
...
code
2015-03-18 16:33:00 +08:00
Tony Tam
369689d001
merged
2015-03-17 16:30:59 -07:00
Tony Tam
df39fe5d08
added Json schema fields
2015-03-17 16:30:42 -07:00
sosso
b73340ab83
Java: properly add request headers
...
https://jersey.java.net/nonav/apidocs/1.8/jersey/com/sun/jersey/api/client/PartialRequestBuilder.html#header (java.lang.String, java.lang.Object)
We were running into issues with our headers not making it into our requests. Upon some research, it appears that Jersey's header() method returns the builder object, meaning we have to do this assignment to properly construct the request. After making the change, our requests work as expected.
2015-03-17 11:39:32 -07:00
Tony Tam
4f32e9dbff
Merge pull request #502 from FindTheBest/develop_2.0
...
PHP Generated Models
2015-03-17 08:51:02 -07:00
Tony Tam
b6ca69f57a
Merge pull request #510 from xhh/patch-2
...
update null comparison for query params in Java
2015-03-17 07:10:52 -07:00
Xu Hui Hui
b2da6dc8a2
update null comparison for query params in Java
...
to make it clear and also allow a query parameter to be set with string value: "null" (4 characters string)
2015-03-17 16:34:01 +08:00
Tony Tam
c96853d5aa
Merge pull request #507 from cchafer/security_schemes_definition
...
Adding defintion of security schemes in CodegenSecurity
2015-03-16 22:13:19 -07:00
Tony Tam
c215d8ab91
fix and tests for #503
2015-03-16 22:10:35 -07:00
Tony Tam
46d1950fbd
removed unnecessary file
2015-03-16 21:04:21 -07:00
Tony Tam
03b764d404
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-03-16 20:54:14 -07:00
Tony Tam
a8aebec9ba
removed description
2015-03-16 20:54:08 -07:00
Tony Tam
fd72ff56bf
fixed context path
2015-03-16 20:54:01 -07:00
Tony Tam
ebec85fd54
added context path
2015-03-16 20:53:48 -07:00
Tony Tam
fd792ef180
added more helpful error trace
2015-03-16 20:53:34 -07:00
Tony Tam
486186e042
Merge pull request #505 from wing328/php_support_user_agent
...
update User-agent in PHP API client
2015-03-16 20:44:46 -07:00
William Cheng
fc9d632522
update ruby client to support form parameters, add PATCH support, update
...
ruby petstore client
2015-03-17 05:24:43 +08:00
Camille Chafer
d580d294b6
Adding defintion of security schemes in CodegenSecurity
2015-03-16 11:58:29 +01:00
William Cheng
e9227ad7e5
add ruby codegen, update sample (petstore) for ruby
2015-03-16 18:47:22 +08:00
William Cheng
6bc8de1230
rebase on develop_2.0
2015-03-15 22:02:16 +08:00