Robin Eggenkamp
39b4034958
Replace NSError by ErrorType
2015-08-31 15:03:56 +02:00
Robin Eggenkamp
28030cba19
Merge branch 'master' into swift-2.0
...
Conflicts:
modules/swagger-codegen/src/main/resources/swift/APIs.mustache
modules/swagger-codegen/src/main/resources/swift/AlamofireImplementations.mustache
modules/swagger-codegen/src/main/resources/swift/Cartfile.mustache
modules/swagger-codegen/src/main/resources/swift/Models.mustache
modules/swagger-codegen/src/main/resources/swift/Podspec.mustache
modules/swagger-codegen/src/main/resources/swift/api.mustache
2015-08-31 14:41:41 +02:00
Paul Ebermann
e0679c0b14
Issue #1142 : sanitize the class name for Java model classes.
...
This builds on #1139 , calling the new sanitizeName() method before camelizing it when generating model names.
2015-08-31 14:13:48 +02:00
xhh
2fd8b8ff16
Update help text of config options in README
2015-08-31 20:10:29 +08:00
xhh
e35be1bd40
Generate Java petstore sample for okhttp-gson
2015-08-31 19:59:17 +08:00
wing328
39ac64d24a
Merge pull request #1161 from wing328/upgrade_JMockit
...
Upgrade JMockit to 1.19
2015-08-31 18:55:38 +08:00
wing328
b846fa5c3e
update JMockit to 1.19
2015-08-31 18:44:01 +08:00
xhh
3c84847adb
Add a new library template to Java client: okhttp-gson
...
which uses OkHttp as HTTP library and Gson as JSON processing library
2015-08-31 18:42:09 +08:00
wing328
2b48ec072c
Merge pull request #1153 from wing328/csharp_fix_encode
...
[C#] Fix UrlEncode in API client
2015-08-31 12:42:48 +08:00
wing328
8114c416b9
Merge pull request #1139 from wing328/sanitize_name
...
Add function to sanitize name (1)
2015-08-30 22:46:58 +08:00
wing328
adee62da7d
Merge pull request #1138 from Helmsdown/cli-enhancements
...
Expose more configuration items in the CLI
2015-08-30 22:46:25 +08:00
cbornet
a207251b29
minor changes
...
removed gson version in pom and added a space between the parameters
2015-08-29 18:41:16 +02:00
cbornet
265de9654b
add authorizations to retrofit client
...
added basic auth, api key and oauth support to the service generator using okhttp interceptors
Fix #962
2015-08-29 18:14:33 +02:00
wing328
177436e69c
fix decode with encode
2015-08-29 22:43:22 +08:00
wing328
1331484a0f
fix urlencode in apiclient
2015-08-29 22:39:44 +08:00
geekerzp
4477009ef8
Handle special characters in parameter names in ruby client
2015-08-29 16:19:43 +08:00
Paul Ebermann
930c5191e0
Issue #1146 : trim string before escaping
...
This removes leading and trailing whitespace before escaping strings. This gets rid of annoying `\n` in some string literals (e.g. in annotations).
2015-08-28 19:56:37 +02:00
russellb337
5f811f3ba7
merge from upstream/master
2015-08-28 10:47:08 -07:00
Paul Ebermann
74bffbaadb
Issue #1146 : fix indentation in the generated API file.
2015-08-28 19:41:32 +02:00
Paul Ebermann
cdd104d3fb
Issue #1146 : escape the response description.
...
This prevents line breaks in string literals, which are not allowed in Java.
2015-08-28 19:39:01 +02:00
Paul Ebermann
be84f03d14
Issue #1146 : do not escape newlines in generated javadocs.
...
For this, we add a property `unescapedDescription` to CodegenModel + CodegenProperty, and use them for the Javadoc generation, while the annotation uses the escaped `description`.
2015-08-28 18:40:14 +02:00
wing328
28579cee03
Merge pull request #1135 from restlet/fix/nodejs_server_swagger_invalid_json
...
[Node.js] fix invalid JSON being generated in swagger.json
2015-08-28 18:31:39 +08:00
Paul Ebermann
32ffab4519
fix issue #1143 : add another null check.
...
The problem was trying to iterate over a null list.
2015-08-28 11:39:45 +02:00
wing328
e3c6cc3220
Merge pull request #1121 from Edubits/prevent-NPE
...
Fix possible NullPointerException
2015-08-28 16:05:20 +08:00
wing328
84346c0ba6
Merge pull request #1122 from F481/master
...
added some useful log/output messages and exception handling
2015-08-28 15:53:35 +08:00
russellb337
acbf3d3cc5
comment twak
2015-08-27 15:59:10 -07:00
russellb337
5c74146879
a few tweaks
2015-08-27 15:56:58 -07:00
russellb337
a59c128f90
curse you github desktop client for not refreshing when i want you to
2015-08-27 15:40:56 -07:00
russellb337
810bf58c3a
first draft of CodegenConfigurator
2015-08-27 15:40:33 -07:00
russellb337
724683fab0
Merge branch 'master' into cli-enhancements
2015-08-27 10:18:55 -07:00
russellb337
074ba1ea54
undo some of the debugging changes I made
2015-08-27 09:11:49 -07:00
wing328
9e5de7da5e
Merge pull request #1132 from geekerzp/python-configuration
...
[Python] Add option `verify_ssl` to switch SSL/TLS verification
2015-08-27 17:01:29 +08:00
wing328
50f6067831
add a case to handle space in name
2015-08-27 16:47:41 +08:00
wing328
9453967815
add function to sanitize name
2015-08-27 16:14:07 +08:00
F481
fc4fce3731
write processOperation debug output only if the debugOperations property is set
2015-08-27 08:06:24 +02:00
russellb337
d31013d977
remove reflections from parent pom
2015-08-26 18:50:29 -07:00
russellb337
ccf0cc8375
whoops, didn't mean to upgrade the minor version
2015-08-26 18:35:22 -07:00
russellb337
99ed012fc6
trying a new version of jetty
2015-08-26 18:31:29 -07:00
russellb337
8ba4a6d7ad
downgrade reflections version
...
I’m guessing
2015-08-26 18:25:23 -07:00
russellb337
60fddcf378
adding back imports that somewhere got deleted during reformatting
2015-08-26 17:55:02 -07:00
russellb337
cf5982d2c4
remove class comment
2015-08-26 17:51:19 -07:00
russellb337
1378976d37
merging upstream changes
2015-08-26 17:40:49 -07:00
russellb337
e5811ebdc7
expose more generate options in the cli
2015-08-26 17:38:51 -07:00
Hugo Wood
d434b7c440
fix invalid JSON being generated in swagger.json of Node.js server
2015-08-26 17:34:53 +02:00
wing328
8de9e23814
Merge pull request #1131 from wing328/csharp_fix_compilebat
...
[C#] fix invokerPackage with packageName in compile.mustache
2015-08-26 17:30:07 +08:00
wing328
b35a7b696e
Merge pull request #1127 from ivanmartinvalle/master
...
Add status code and response headers of the last request to java and c#
2015-08-26 17:27:34 +08:00
wing328
587028efd1
Merge pull request #1129 from geekerzp/objc-test
...
[Objc] Add test cases for sanitizeForSerialization method in objc client
2015-08-26 17:02:55 +08:00
wing328
af8d61cc02
Merge pull request #1130 from geekerzp/python-test
...
[Python] Add test cases for sanitize_for_serialization method in python client
2015-08-26 16:46:42 +08:00
wing328
1996aa9244
Merge pull request #1126 from xhh/java-enum-refactor
...
[Java] Support special characters in enum values
2015-08-26 16:41:56 +08:00
wing328
f79f8895c5
Merge pull request #1125 from wing328/php_param_name
...
[PHP] add camelCase support for variable naming
2015-08-26 09:49:08 +08:00