James Earl Douglas
77e9ce5ede
Drop the 'optional' param for path params
2014-08-26 14:38:27 -07:00
Tony Tam
013c19eb36
Merge pull request #251 from earldouglas/not-so-required
...
Set param as 'required' iff required, else set as 'optional'
2014-08-26 14:33:00 -07:00
James Earl Douglas
61c04ddaf1
Set param as 'required' iff required, else set as 'optional'
2014-08-26 14:31:45 -07:00
Tony Tam
b4d361130c
Merge pull request #247 from xoom/issues/java_pom
...
Issues/java pom - remove scala dependencies from Java pom files
2014-08-25 23:05:04 -07:00
xhh
1ba42ef6cc
Fixes #242 - Ruby model syntax error
2014-08-26 09:18:54 +08:00
Rob Blair
fc77521d49
Simplify java sample poms.
...
* remove scala references from the java client pom template files.
* regenerate the petstore sample pom.xml, verify they can build properly.
2014-08-25 17:37:36 -07:00
Ganesh Subramanian
3ad1ecf153
Added import mapping for Timestamp
2014-08-21 12:11:19 +05:30
Ganesh Subramanian
6087181634
Added import mapping for Timestamp
2014-08-21 12:10:14 +05:30
Ganesh Subramanian
c09adc4539
Fix for issue #226
2014-08-21 12:01:44 +05:30
Tony Tam
a626dea181
Update api.mustache
2014-08-11 08:58:45 -07:00
Tony Tam
454ec4b438
fix for #235
2014-08-08 16:38:38 -04:00
Tony Tam
87083034ee
Merge pull request #215 from JDiPierro/fix_java_generator_lists
...
Use config.processResponseClass to determine type of returnContainer
2014-07-24 11:48:19 -07:00
Timothy Lusk
d0b0323925
CSharp: Implement multipart form submission
2014-07-22 17:17:54 -04:00
Timothy Lusk
bbe48814b4
CSharp: Add optional api constructor argument to set the basePath
2014-07-15 15:41:57 -04:00
Timothy Lusk
3b6ffa4a1f
CSharp: Close the WebResponse if we throw an ApiException
2014-07-15 15:41:56 -04:00
Justin DiPierro
e2a20447df
Fixed comment in test
2014-07-10 10:02:18 -04:00
Tony Tam
5d42c8cc5f
moved to petstore
2014-07-04 10:19:48 -07:00
Tony Tam
256485ec5b
updated template
2014-07-04 10:19:28 -07:00
Tony Tam
7ab0394e76
added node.js instead of jetty
2014-07-04 10:19:09 -07:00
Tony Tam
89b04b2e10
formatting
2014-07-04 10:18:44 -07:00
Justin DiPierro
9834059786
Fixed BasicScalaGeneratorTest to expect Some(List)
2014-07-03 11:32:37 -04:00
Justin DiPierro
550fade9e0
Codegen.apiToMap should use config.processResponseClass when setting the returnContainer property. Test passes now
2014-07-03 11:24:05 -04:00
Justin DiPierro
aa1b4fc0fb
Wrote failing test for Codegen
2014-07-03 11:23:07 -04:00
Timothy Lusk
7bc7789e81
CSharp: Invoker should handle WebException and rethrow ApiException
2014-06-27 17:55:10 -04:00
Timothy Lusk
cf0721da73
CSharp: Use nullable primitive types to allow optional parameters
2014-06-27 16:10:45 -04:00
Timothy Lusk
dcbf4d1bfd
CSharp: Use the correct model package name
2014-06-27 16:01:24 -04:00
Michele Cantelli
5f5e534d05
CSharp: renaming the "packages" to follow the .NET style.
2014-06-17 16:22:04 +02:00
Michele Cantelli
51deeb478d
Fixing extensions for csharp common files.
2014-06-17 15:18:58 +02:00
Rob Blair
d5ddac8e7e
Update java mustache to show error status codes and models in generated API, in comments.
...
* I wonder if there is some clever way to make exceptions based on the model thrown, and automatically fill them in with the parsed error models?
* Until then, it's comments, and roll your own.
2014-06-16 12:51:35 -07:00
Rob Blair
e8210cd5e3
allow list of models to be returned in errors
...
* for example, a list of validation errors with an exceptional status
2014-06-16 12:40:44 -07:00
Rob Blair
2dc6b485e0
Generate classes from the models declared in 'responseModel'
...
* ResponseMessage has new constructor parameter, an optional string for responseModel
* Make sure we add it to list of models
* make sure the responseModel is part of the error list available to mustache
2014-06-16 12:34:44 -07:00
Tony Tam
11bede2b7d
improved validation messages
2014-06-12 00:45:27 -07:00
Tony Tam
ed51dd9dea
added files
2014-06-11 06:41:59 -07:00
Tony Tam
209e8e066c
Merge pull request #201 from xoom/issue/JavaSafeApiName
...
coerce API names for classesand files to valid Java names
2014-06-11 06:12:55 -07:00
Tony Tam
7d05b01a56
Merge pull request #202 from gonimar/patch-1
...
Unused local variable 'json_data'.
2014-06-11 06:12:36 -07:00
Tony Tam
64f6bedc37
Merge branch 'repackage'
2014-06-11 06:12:15 -07:00
Tony Tam
db8bda087b
made nickname optional
2014-06-11 06:11:31 -07:00
Tony Tam
63be7d0069
removed println
2014-06-11 05:50:44 -07:00
Tony Tam
c7468125fa
added clientName
2014-06-10 20:37:36 -07:00
Tony Tam
c4913fe583
wrapped in apiInfo
2014-06-10 20:37:08 -07:00
Tony Tam
d3339cb087
fixed string default
2014-06-10 20:36:58 -07:00
Tony Tam
ba4fda12dc
added additional params
2014-06-10 20:36:29 -07:00
Tony Tam
bcabb03225
added support for nickname generation
2014-06-10 20:05:19 -07:00
Tony Tam
96ea70e3c9
added className key
2014-06-10 17:23:20 -07:00
Tony Tam
9a01331ddd
updated copyright
2014-06-10 16:58:43 -07:00
Tony Tam
fdf8572535
updated copyright
2014-06-10 16:57:12 -07:00
Tony Tam
cff8b1552d
updated copyright
2014-06-10 16:57:01 -07:00
Tony Tam
607b56cb87
removed println
2014-06-10 08:40:19 -07:00
Tony Tam
64604124c9
added array support
2014-06-10 08:22:08 -07:00
Sergey Gonimar
e03d4fc1a5
Unused local variable 'json_data'.
...
The value of the variable is not used anywhere.
2014-06-10 19:25:00 +06:00