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
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