18059 Commits

Author SHA1 Message Date
Tony Tam
e851262875 Merge pull request #95 from canadaduane/http_lc
Add an 'httpMethodLowerCase' property
2013-09-18 15:02:43 -07:00
Duane Johnson
7956ccc979 Add an 'httpMethodLowerCase' property
Some libraries use lower case httpMethod names for method calls. For
example, Ruby's Faraday library uses 'get', 'put', 'post', 'delete'.

Rather than this unweildy Ruby code produced by a mustache template:
  self.send("GET".downcase, path, request_opts)

This patch would allow for a more tidy output such as:
  get(path, request_opts)
2013-09-18 15:47:41 -06:00
Tony Tam
13bc111bd6 added some logging for fatal container issues 2013-09-18 12:55:12 -07:00
Tony Tam
cc0a30edf8 added header support, suppressed println 2013-09-18 11:55:45 -07:00
Tony Tam
0ffc6cb7a0 added header passing for codegen 2013-09-17 13:44:45 -07:00
Tony Tam
6a2f53f07d added type modification 2013-09-16 17:35:15 -07:00
Tony Tam
930b1ea0ea updated java example 2013-09-16 17:35:01 -07:00
Tony Tam
8e8e5308b6 added validation error if response not specified 2013-09-16 16:25:19 -07:00
Tony Tam
8f71d3fc50 added form params 2013-09-16 16:25:00 -07:00
Tony Tam
a123d8f066 added set mapping 2013-09-16 16:24:44 -07:00
Tony Tam
ea15cad8d5 fixes for position, and null arg removal 2013-09-16 16:24:24 -07:00
Tony Tam
e4a4f25f22 updated test to match changes in petstore as deployed 2013-09-16 16:23:56 -07:00
Tony Tam
93677742d3 Merge pull request #93 from canadaduane/swagger_config
Fix Ruby Request class: no access to inject_format on Class object
2013-09-12 17:33:26 -07:00
Duane Johnson
389765c113 Fix Ruby Request class: no access to inject_format on Class object 2013-09-12 16:05:59 -06:00
Tony Tam
5ef5fa7296 fixed container type translation 2013-09-12 13:57:03 -07:00
Tony Tam
4e408e6d80 Merge branch 'master' of github.com:wordnik/swagger-codegen 2013-09-12 13:42:01 -07:00
Tony Tam
a140ea2b9d fixed response type with array of simple types 2013-09-12 13:41:53 -07:00
Ivan Porto Carrero
b920881490 allow api level config of default imports in async scala 2013-09-09 18:51:04 -07:00
Tony Tam
56d5167a27 Merge branch 'master' of github.com:wordnik/swagger-codegen 2013-09-09 17:53:11 -07:00
Tony Tam
ddf81948a8 fixed bug where inner simple types were not being processed 2013-09-09 17:52:49 -07:00
Tony Tam
6652028d71 fixed bug where inner simple types were not being processed 2013-09-09 17:52:30 -07:00
Tony Tam
c9fccc5c75 removed lc array 2013-09-09 17:52:06 -07:00
Tony Tam
f766937ac7 added set support 2013-09-09 17:51:48 -07:00
Tony Tam
54f0823ec4 Update README.md 2013-09-09 15:25:38 -07:00
Tony Tam
5f61d20610 fixed build error 2013-09-09 13:59:55 -07:00
Ivan Porto Carrero
7ed2df2722 one more qualified type 2013-09-07 10:15:28 -07:00
Ivan Porto Carrero
a8a2a41315 Fill out qualified type when it's provided in the json 2013-09-06 22:14:48 -07:00
Ivan Porto Carrero
676283875b add the ability to exclude packages for models in the async scala codegen 2013-09-06 20:52:14 -07:00
Ivan Porto Carrero
4f95550977 fix set generation in async client 2013-09-05 21:58:24 -07:00
Ivan Porto Carrero
7056081605 fix Array[long] to List[Long] 2013-09-05 21:45:19 -07:00
Tony Tam
c90083855f added set test 2013-09-05 17:15:36 -07:00
Tony Tam
2f997e6b29 added fix for set 2013-09-05 17:15:10 -07:00
Tony Tam
8ad07d069c Merge pull request #87 from canadaduane/rubyclean
Change ruby generation to be a little more ruby-esque
2013-09-02 21:17:15 -07:00
Tony Tam
51e29cdfaf Merge pull request #88 from silentdth/master
documentation for compiling on Windows
2013-09-02 21:05:20 -07:00
Ivan Porto Carrero
811425a15f Revert "use position property in json to preserve ordering across generations"
This reverts commit 9ee361df5b2f773b77eba46e936d10123df0b97d.
2013-08-31 19:57:54 -07:00
Ivan Porto Carrero
9ee361df5b use position property in json to preserve ordering across generations 2013-08-31 19:46:14 -07:00
Benjamin Dodd
c1df192f09 documentation for compiling on Windows 2013-08-31 19:58:04 +12:00
Duane Johnson
7d6660d56c Change ruby generation to be a little more ruby-esque
Cleaned up some very long lines, added indentation, and shortened
the repetitive parts of the model mustache template.
2013-08-30 17:07:11 -06:00
Tony Tam
450b3c7ed5 fixed array with simple types, added test 2013-08-28 17:28:52 -07:00
Ivan Porto Carrero
e1e95fc1d2 remove redundant brace 2013-08-27 20:22:22 -07:00
Mike O'Connor
8365270134 bump version 2013-08-27 20:22:34 -04:00
Mike O'Connor
33163cd253 options should be unwrapped 2013-08-27 17:04:09 -04:00
Ivan Porto Carrero
2b04a5a127 Fix using the typeMappings 2013-08-26 17:55:28 -07:00
Ivan Porto Carrero
baa0a45537 add array type mapping 2013-08-26 02:05:39 -07:00
Ivan Porto Carrero
6747e3eb0b update to sbt 0.13.0 2013-08-25 18:20:23 -07:00
Ivan Porto Carrero
bad8d7c4b3 build.sbt edit 2013-08-24 19:42:51 -07:00
Ivan Porto Carrero
2610ac7fc3 update async scala client to use type classes for serializing and deserializing 2013-08-24 19:36:43 -07:00
Ivan Porto Carrero
e2730ae34e fix async scala client generator 2013-08-22 15:31:42 -07:00
Tony Tam
beeeb133e6 Merge branch 'master' of github.com:wordnik/swagger-codegen 2013-08-22 13:18:13 -07:00
Tony Tam
01dc29d789 fix for jsonschema format in model property with array 2013-08-22 13:18:03 -07:00