Commit Graph

207 Commits

Author SHA1 Message Date
Tony Tam
45ac101779 added field 2013-03-21 21:43:53 -07:00
Eugen Anghel
cb422950f8 made Models optional 2013-03-20 09:49:56 +02:00
Tony Tam
af5f8909a6 added files 2013-03-13 23:47:05 -07:00
Tony Tam
0a7e606650 added file upload support 2013-03-13 23:45:26 -07:00
Tony Tam
7659ab5a47 added file support 2013-03-13 20:06:48 -07:00
Tony Tam
a31ae97ea0 added file upload support 2013-03-13 19:59:15 -07:00
George Sibble
d7e93cbda9 Fix Object Type Detection to Not Incorrectly Convert Booleans and 0 Integers to None
Prior to this patch, zero integers and False booleans were being converted to None since both evaluate the origin if statement (it not obj) to True.

Signed-off-by: George Sibble <gsibble@gmail.com>
2013-03-07 12:43:46 -06:00
mrjf
a9e0635d31 Merge pull request #34 from sibblegp/master
Add URL query parameters to all calls, not just GET
2013-03-06 22:35:28 -08:00
Russell Horton
16aa731867 in Swagger.php, use dirname instead of grepping for slash, which could be / or \ 2013-03-06 10:06:35 -08:00
Tony Tam
e1f295398e added files per #35 2013-03-05 17:44:21 -08:00
George Sibble
d00c5d0ad8 Fix typo in python template 2013-03-04 20:05:11 -06:00
George Sibble
29a132496e Fix My Own Mistake (GET Triggered an error)
Signed-off-by: George Sibble <gsibble@gmail.com>
2013-03-04 19:58:59 -06:00
George Sibble
c032b3c2d4 Move URL Query Parameters into All HTTP Verbs
HTTP Spec states that URL query parameters can be in all verbs.  Should probably check all languages to make sure that query parameters are always passed even if it is not a GET call.

Signed-off-by: George Sibble <gsibble@gmail.com>
2013-03-04 19:30:24 -06:00
Tony Tam
68ce5d78f9 added test to verify nested List objects are recursed 2013-03-01 14:37:28 -08:00
Tony Tam
70fef15f81 name clean-up 2013-02-28 20:22:02 -08:00
Tony Tam
7b651dedcd removed null guards 2013-02-28 20:19:04 -08:00
Tony Tam
a6af380833 removed println 2013-02-28 17:28:15 -08:00
Tony Tam
b0993379ee added model test 2013-02-28 17:27:56 -08:00
George Sibble
55cf01d9f7 Also for Python 3 2013-02-28 15:06:59 -08:00
George Sibble
7354d6722f Include TypeError Detection
Check for NoneType in Python
2013-02-28 15:04:35 -08:00
Tony Tam
67d48e4e35 fixed data type 2013-02-22 19:03:43 -08:00
Tony Tam
1b89879a47 updated output path 2013-02-22 19:03:32 -08:00
Tony Tam
64ffd7be36 removed fail on warning 2013-02-22 18:19:01 -08:00
Tony Tam
4003a0d61c turned model into map 2013-02-22 18:18:17 -08:00
Tony Tam
631b44fee2 updated path 2013-02-22 18:16:59 -08:00
Tony Tam
c2c1bbc417 Merge pull request #23 from mrjf/master
wordnik.com api clients for python, python3 and php
2013-02-21 11:07:02 -08:00
Tony Tam
10c5a8346f Merge pull request #31 from ceraslabs/master
Fixed compilation error
2013-02-21 11:03:57 -08:00
Hongbin Lu
c0c2f0bebc Fixed an error that escaping a non-string object 2013-02-21 17:33:37 +00:00
Hongbin Lu
85e8ead0cf Fixed a ArrayList cannot be resolved error 2013-02-21 17:19:16 +00:00
Tony Tam
b7dae2a846 cleaned up compiler warnings 2013-02-21 00:24:20 -05:00
Russell Horton
00ac23c462 separate PHP query, header and path param serialization and encoding 2013-02-10 13:24:01 -08:00
Tony Tam
402266e65b removed optional name field for models 2013-02-06 17:03:30 -08:00
Tony Tam
852eb0bf49 added error handling 2013-02-06 17:03:19 -08:00
Tony Tam
84e17c7707 made public 2013-02-06 16:39:44 -08:00
Tony Tam
fb4a6c968c better error messages 2013-02-06 16:39:31 -08:00
Tony Tam
b3076d95b2 began adding friendly validation messages 2013-02-05 17:52:17 -08:00
Ivan Porto Carrero
55ce19a233 also build for 2.10 2013-01-14 01:56:19 +01:00
Ivan Porto Carrero
59d74a83af use sbt for building, only use json4s-jackson 2013-01-14 01:06:19 +01:00
ramesh
fe30ed3580 Fixed issue in configuring output path for supporting files. 2013-01-03 14:27:43 -08:00
Russell Horton
62352a126e removing unneeded capitalized data types 2012-12-21 11:27:48 -08:00
Russell Horton
43708f6395 map lower case type names as well as upper 2012-12-20 14:26:19 -08:00
Russell Horton
29cec989b2 better escaping for path parameters 2012-12-20 14:25:47 -08:00
Russell Horton
93c0134da9 better url escaping for path values 2012-12-20 14:25:14 -08:00
Tony Tam
95d77807c2 cleaned up toApiName to strip bad chars 2012-12-18 22:53:46 -08:00
Tony Tam
28221b5f5a added more lenient int extraction, optional basepath 2012-12-18 22:53:25 -08:00
Tony Tam
c9397ce1e7 changed to use paramName instead of baseName to support the toParamName method 2012-12-18 22:53:03 -08:00
Tony Tam
f1f466b69f made extracter smarter with bool, int, string 2012-12-08 12:52:03 -08:00
Tony Tam
df48f4d8a9 added models to map 2012-12-05 07:38:10 -08:00
Tony Tam
0f3087cbd6 forcing allowableListValues to be String 2012-12-04 17:06:34 -08:00
Tony Tam
4c19ff30ed added special handling for parameter ordering 2012-12-04 15:42:00 -08:00