Ville Skyttä
6bb0ea2e8a
ruby: Fix syntax error when pattern contains a single quote
2016-09-01 20:45:52 +03:00
wing328
b909252bb8
Merge pull request #3699 from scop/java
...
java: Javadoc fixes
2016-09-02 00:44:53 +08:00
wing328
11ae12b09d
[Scalatra] replace {} with : in scalatra path ( #3694 )
...
* replace {} with : in scalatra path
* remove unused var in scalatra code gen
2016-09-02 00:25:07 +08:00
Ville Skyttä
0363858672
java: Javadoc fixes
2016-09-01 18:07:35 +03:00
Ville Skyttä
e52a8e34cb
Spelling fixes
2016-09-01 17:39:30 +03:00
Arpit Suthar
e7ec360ba8
Added 'modelPropertyNaming' option for Scala ( #3685 )
...
* Closed #3675
1. Added 'modelPropertyNaming' option for scala
2. Executed ./bin/scala-petstore.sh (no changes).
* Removed unwanted code #3675
2016-09-01 18:22:03 +08:00
Jyotsna Karan
062e6fc3ac
Added functionality to handle optional parameters for Scala ( #3683 )
...
* 1. Modified api.mushtache to handle optional paramters for scala (#3665 )
2. Updated petstore sample for scala
* Generated scala-petstore.sh (#3665 )
* 1. Updated api.mustache to handle optional thing with headers and file parameters
2. Generated petstore sample for the above changes
2016-09-01 18:11:23 +08:00
Ville Skyttä
8e7d3d1a72
Python fixes ( #3689 )
...
* python: Fix unsupported method exception message
* python: Implement form data collection formatting
2016-09-01 15:05:52 +08:00
wing328
d464bfbd59
fix JS auth issue due to missig comma
2016-08-31 17:50:56 +08:00
wing328
eb59e2945e
remove unnecessary change for c# codegen
2016-08-31 17:31:55 +08:00
wing328
8523c57f8c
remove unnecessary change in JS closure codegen
2016-08-31 17:13:35 +08:00
wing328
5804fbc1dd
remove unnecesary change in JS codegen
2016-08-31 16:52:46 +08:00
wing328
322862c4b6
add hided timestamp option to swfit codegen
2016-08-31 16:45:12 +08:00
wing328
da45cb7ff5
remove unnecessary changes for php codegen
2016-08-31 16:38:30 +08:00
wing328
4ea4488212
remove unnecessary change for ruby codegen
2016-08-31 15:57:04 +08:00
wing328
ebfddd0a58
remove unnecessary changes for python codegen
2016-08-31 15:49:22 +08:00
wing328
2ced9e1deb
Don't HTML escape PHP pattern output ( #3672 )
...
* php: Do not HTML escape patterns
* php: Update petstore
* lumen: Do not HTML escape pattern
* lumen: Update petstore
2016-08-31 14:07:29 +08:00
wing328
429bc46a79
Merge branch 'python-patterns' of https://github.com/scop/swagger-codegen into scop-python-patterns
2016-08-31 13:54:47 +08:00
wing328
343ca03512
Merge branch 'issue-3647' of https://github.com/zbiro/swagger-codegen into zbiro-issue-3647
2016-08-31 00:25:06 +08:00
Ville Skyttä
cdcc61b038
python: Do not HTML escape patterns
2016-08-30 08:06:02 +03:00
Ville Skyttä
a4dbd761f8
python: Fix escaping of quote in patterns
2016-08-30 08:06:02 +03:00
Ville Skyttä
cfe1b7a2b4
lumen: Do not HTML escape pattern
2016-08-30 08:05:04 +03:00
Ville Skyttä
8f98a6d6f5
php: Do not HTML escape patterns
2016-08-30 08:05:04 +03:00
Daniel Ge
dd1ed12318
Make connection failures visible with generated Ruby SDKs ( #3640 )
...
* Make connection failures visible in Ruby SDK
The underlying HTTP library, Typhoeus, requires you to be explicit about
error handling. Unfortunately, this also means that we can't assume that
`response.success?` will be false only when the HTTP status code is not
a 200; it could also be false when the request fails (timeouts, TLS
verification issues, etc.). This commit adds explicit error handling for
these cases.
* Update samples
2016-08-30 10:28:07 +08:00
Ville Skyttä
224fd208e7
Various python cleanups ( #3650 )
...
* python: Let logging format messages on demand
* python: Use six more
* python: Remove unused imports
* python: flake8 fixes
* python: Make examples compatible with Python 3
* python: Spelling fixes
2016-08-30 10:16:17 +08:00
Zoltan Biro
646c4faa62
fixing python code formatting issue
2016-08-29 16:53:38 +02:00
Zoltan Biro
10aa68c6b7
Fix empty model object serialization in python client
2016-08-29 16:08:45 +02:00
sidhantgoyal
8dfe230b7c
[android] volley socket timeout configurable ( #3646 )
...
* [android] volley socket timeout configurable
* Updated Android Volley Petstore sample
2016-08-29 16:31:49 +08:00
wing328
d93ef8531b
Merge pull request #3645 from guohuang/compile_issue2
...
[Go] fixing code gen not recognizing 'object' type issue
2016-08-29 15:39:25 +08:00
wing328
04ce4ef867
Merge pull request #3657 from cvent/cvent-fixes
...
Fix to case of propertyClass which pukes on most checkstyle rules in …
2016-08-29 15:23:42 +08:00
Brent Ryan
46c3bef40f
Fix to case of propertyClass which pukes on most checkstyle rules in java
2016-08-28 20:49:30 -04:00
Ville Skyttä
2fbec6d9eb
Spelling fixes
2016-08-28 17:05:34 +03:00
Ville Skyttä
9c92bcb693
perl: Sync default user agent with other languages
2016-08-28 15:11:32 +03:00
Sebastian Haas
4337f050f5
Angular2 rc5 ( #3603 )
...
* Changes due to changes in Angular's http module.
* Added link to issue re Headers clone. Removed use-strict since its emitted by default from TypeScript 1.8 on.
* Added missing import for ResponseContentType.
* Added null check fix for Angular http issue.
* Updated package.json and typings
Signed-off-by: Sebastian Haas <sebastian@haas.tech >
2016-08-28 18:30:11 +08:00
wing328
440b7211de
Merge pull request #3653 from scop/java
...
java: Fix model package import in example
2016-08-28 16:23:57 +08:00
Ville Skyttä
85c7e7697a
Perl example fixes ( #3652 )
...
* perl: Add configuration and classname imports to examples
* perl: Fix list container syntax in examples
2016-08-28 15:56:00 +08:00
Ville Skyttä
756f7a96f6
java: Fix model package import in example
2016-08-28 01:00:34 +03:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
Guo Huang
be0233c609
[Go] fixing code gen not recognizing 'object' type issue
2016-08-25 21:44:57 -07:00
wing328
419c3165ea
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-08-25 23:14:58 +08:00
wing328
81f947e723
update android petstore sample, add this to volley's model
2016-08-25 23:12:23 +08:00
wing328
12fbbfbd6d
Merge branch 'mikesol-patch-android-classVarName' of https://github.com/mikesol/swagger-codegen into mikesol-mikesol-patch-android-classVarName
2016-08-25 23:05:09 +08:00
wing328
d590b849cc
Merge pull request #3626 from medallia/flatten-composed-model
...
Adds flattener for ComposedModel
2016-08-25 23:04:01 +08:00
Tony Wang
beaf1fc7aa
fix #3477 , add RxSwift support for Swift ( #3490 )
...
* fix #3477 , add RxSwift support for Swift
* make the SwaggerClient scheme shared
2016-08-25 19:34:12 +08:00
Jason Gavris
e89f914e8b
[Swift] Handle String responses
2016-08-23 10:18:01 -04:00
Jason Gavris
3a457c6a7e
[Swift] Handle Void responses
2016-08-23 10:03:51 -04:00
Diego de Estrada
84de96ef65
Adds flattener for ComposedModel
2016-08-22 17:54:30 -03:00
Ryan Martin
c1f3c51427
[Swift] Include HTTP status code and body data in response errors
...
This is useful when differentiating different error responses. Example:
if let e = error {
switch e {
case ErrorResponse.Error(400, _, _): responseLabel.text = "Unknown error"
case ErrorResponse.Error(403, _, _): responseLabel.text = "Not logged in"
default: responseLabel.text = "\(e)"
}
}
The existing error is straight from Alamofire and only includes the HTTP
status code in the body of the message (not broken out as a separate value).
It also does not include the response body, which may be useful.
2016-08-22 12:30:03 -04:00
Damien Pontifex
54fe7a731c
inject base_path opaque token for typescript angular2 ( #3514 )
...
* inject base_path opaque token for typescript angular2
* Readme note on providing base path to service
2016-08-22 21:40:51 +08:00
Yet Another Minion
9a77c48540
For Qt5 server generator, add BaseIntegerProperty to default values ( #3622 )
...
* For Qt5 server generator, add BaseIntegerProperty to default values
* move base property check to after checks of extended properties
2016-08-22 19:52:10 +08:00