5029 Commits

Author SHA1 Message Date
wing328
eebb6c4dd0 rename auth token to access token 2015-11-03 10:17:47 +08:00
wing328
89ec500744 add oauth support in python 2015-11-03 10:14:20 +08:00
wing328
2778857714 Merge pull request #1409 from sfurholm/feature/allow-overriding-of-only-some-templates-v2
Allow overriding of only some templates when using --template-dir option
2015-11-03 09:33:16 +08:00
wing328
86efdc5b54 Merge pull request #1485 from xhh/ruby-oauth
Add oauth support for Ruby client
2015-11-03 09:13:53 +08:00
wing328
cb429149bc Merge pull request #1492 from tomekc/swift_custom_headers
Custom headers in Swift; base URL is now modifyable
2015-11-03 09:05:30 +08:00
cbornet
8b0bf8ff72 add a listener on new token reception
Add a listener on new token reception that can then be stored or logged for debug
Add an helper method to add authorizations (otherwise if the swagger def is not complete or correct, it is hard to configure from the main app)
2015-11-02 19:20:24 +01:00
cbornet
5b1f287176 add android manifest to java codegen 2015-11-02 18:32:52 +01:00
cbornet
645b8a01e1 provide dependency to javax.annotation.Generated for android 2015-11-02 16:16:14 +01:00
xhh
a94f9b69af Add oauth support to other Java clients
with libraries jersey2 and okhttp-gson
2015-11-02 22:52:51 +08:00
wing328
1f38ce724f Merge pull request #1486 from aersamkull/master
Addes default headers for TypeScript Angular
2015-11-02 21:36:46 +08:00
xhh
b27931cd8c Add oauth support for Java client 2015-11-02 21:27:53 +08:00
Tomek Cejner
884b853e1f Custom headers in Swift; base URL is nor modifyable 2015-11-02 14:20:15 +01:00
Dave Baird
3559a8bd09 Fix array query param processing
A couple of PHP functions that don't exist in Perl were being called to
process array query parameters.
2015-11-02 10:47:46 +01:00
aersamkull
3762ea472d Adds default headers 2015-11-02 08:28:46 +01:00
Dave Baird
d28737ffd2 Fix misleading comment 2015-11-02 08:24:06 +01:00
aersamkull
a4538e989c Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2015-11-02 07:45:01 +01:00
xhh
1c3dc28c67 Add oauth support for Ruby client 2015-11-02 12:50:23 +08:00
wing328
15c5fff3d8 Merge pull request #1481 from dvz5/patch-1
Update BaseObject.mustache
2015-11-01 22:40:15 +08:00
wing328
47b4f9fa2c Merge pull request #1477 from baverbud/issue-1476
Issue 1476
2015-10-31 23:04:56 +08:00
wing328
7bc523324d Merge pull request #1446 from wing328/php_improvement1
[PHP] add OAuth support
2015-10-31 22:46:52 +08:00
dvz5
a4426cf2de Update BaseObject.mustache
Fix deserialization.
2015-10-31 09:01:40 +01:00
Steffen Furholm
dcaa2dcb22 Merge branch 'master' of github.com:swagger-api/swagger-codegen into feature/add-support-for-sortParamsByRequiredFlag-config-option-to-csharp-and-python 2015-10-31 02:20:36 +01:00
Tony Tam
9fc5fdbc8d Merge pull request #1474 from lugaru1234/genratorOptionsPart2
Test data were moved to the separete classes and OnlineGeneratorOptionsTest has been refactored
2015-10-30 18:10:17 -07:00
Steffen Furholm
5da0b96f17 Added support for sortParamsByRequiredFlag config option to C# and Python 2015-10-31 01:14:17 +01:00
Richard Baverstock
97a28165c7 Additional locations where float/double handling is needed 2015-10-30 11:48:48 -07:00
Richard Baverstock
8565975b99 Issue 1461
Add float and double handling to functions in SWGHelpers.cpp
2015-10-30 11:44:55 -07:00
wing328
28069fa1b4 Merge pull request #1472 from thorsten/master
Added missing visibility for constructor
2015-10-30 23:14:55 +08:00
Nadezhda Makarkina
81090bb4e2 Test data were moved to the separete classes and OnlineGeneratorOptionsTest has been refactored 2015-10-30 16:32:33 +03:00
dvz5
afcf90798a Update BaseObject.mustache
Fix deserialization
2015-10-30 14:32:10 +01:00
Thorsten Rinne
f23370774b Added missing visibility for constructor 2015-10-30 11:10:38 +01:00
wing328
b7481586c3 Merge pull request #1405 from lugaru1234/returnTypeFix
ReturnType processing has been fixed
2015-10-30 12:21:05 +08:00
wing328
df72beada6 Merge pull request #1463 from xhh/jersey2-client
Java jersey2: reuse a shared Client instance
2015-10-30 09:56:15 +08:00
Richard Baverstock
4438c63f6b Issue #1461
Add float and double to languageSpecificPrimitives
2015-10-29 10:50:07 -07:00
Nadezhda Makarkina
faf79be477 processOptions tests have been added for Objc, perl, spring-mvc, swift, scala, async-scala, qt5cpp, html, dynamic-html, swagger, swagger-yaml, tizen, typescript-angular, typescript-node, akka-scala, inflector, scalatra, silex and sinatra 2015-10-29 15:46:01 +03:00
aersamkull
2b24aa8f91 adds default headers 2015-10-29 09:15:18 +01:00
wing328
4ed819c4a0 Merge pull request #1457 from xhh/java-default-value
[Java] Assign default value for primitive properties
2015-10-29 10:11:05 +08:00
xhh
953edc940f Java jersey2: use a shared Client instance 2015-10-29 09:40:07 +08:00
Steffen Furholm
c0dc273e7a Merge remote-tracking branch 'origin/master' into feature/allow-overriding-of-only-some-templates-v2 2015-10-28 23:30:19 +01:00
wing328
964850a8de rename authToken to accessToken 2015-10-28 21:44:12 +08:00
wing328
67815ed5f2 add oauth support for php 2015-10-28 21:44:12 +08:00
Nadezhda Makarkina
6008664ff8 processOptions tests have been added for Android, Ruby, nodeJS, php, python, csharp, CsharpDotNet2, dart, flash 2015-10-28 14:55:42 +03:00
Andras Gaal
a5fcda9926 fix: codegen does not support spec 2.0 properties for parameters:
maximum
,exclusiveMaximum
,minimum
,exclusiveMinimum
,maxLength
,minLength
,pattern
,maxItems
,minItems
,uniqueItems
,multipleOf
2015-10-28 10:52:29 +01:00
xhh
ef29f70508 Handle default value for Integer, Double and Float properties 2015-10-28 16:37:31 +08:00
xhh
2595992df7 Assign default value for model properties
in Java-related client and server codegen.

Closes #1448
2015-10-28 15:26:16 +08:00
wing328
55f1b0f642 Merge pull request #1450 from paralin/fix-path-var
Change usage of "path" in C# code generation
2015-10-28 15:21:01 +08:00
Arne Jørgensen
d907822fa9 Use CURLFile object on PHP5.5+. 2015-10-27 22:56:19 +01:00
Christian Stewart
5cdee3f424
Path is a commonly used variable name 2015-10-27 17:35:21 -04:00
Nadezhda Makarkina
9e791c229b processOptions tests have been added for Java and JaxRS 2015-10-27 15:51:39 +03:00
wing328
4551076b22 Merge pull request #1438 from wing328/better_doc
Better documentation for DefaultCodegen.java
2015-10-27 15:53:17 +08:00
wing328
cf59b5dc7e Merge pull request #1444 from xhh/retrofit-syntex-error
Fix syntax error on authMethods in java retrofit client
2015-10-27 13:56:53 +08:00