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
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ä
fa0e0f4fcc
python: Update petstore
2016-08-30 08:07:35 +03:00
Ville Skyttä
77a2973da4
lumen: Update petstore
2016-08-30 08:05:04 +03:00
Ville Skyttä
a95ade6d2a
php: Update petstore
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
b050ba9dc3
regenerate petstore sample
2016-08-29 16:47:22 +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
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
wing328
598c21b06e
add new perl petstore files
2016-08-28 16:02:09 +08:00
wing328
72d0cd7eb4
update petl sample
2016-08-28 15:57:50 +08:00
Ville Skyttä
b4c139f19b
Spelling fixes
2016-08-27 02:34:33 +03:00
wing328
81f947e723
update android petstore sample, add this to volley's model
2016-08-25 23:12:23 +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
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
wing328
a58845bb0f
add function to handle missing delimiter in regex
2016-08-22 18:01:06 +08:00
wing328
4e20bd9bab
[Java][Spring][Inflector][Jax-RS] To fix various enum issues ( #3615 )
...
* fix spring enum deserialization issue
* fix enum class for spring
* update java inflector to fix enum tostring
* fix jaxrs jersey1 enum toString
* fix jaxrs jersey patch issue
2016-08-20 17:54:45 +08:00
Kevin Chabreck
64e03422c0
[Spring Boot] use port defined in spec file for server.port value ( #3605 )
...
* uncommented server.port property in application.mustache template and set it to serverPort value parsed from spec file
* update Petstore sample for Spring MVC and Boot
2016-08-19 17:29:36 +08:00
wing328
24c0038cce
[Java][Inflector] Fix enum issue with java inflector ( #3606 )
...
* fix enum issue with java inflector
* update pom to test java-inflector
2016-08-18 09:48:50 +08:00
wing328
535de68701
update go petstore sample
2016-08-17 23:05:03 +08:00
Scott Williams
68d63ec783
Create setter for models inline with Issue 3210
2016-08-15 23:31:30 +01:00
Nekrasov Aleksander
91675c97e2
Fix resteasy offsetdatetime provier ( #3332 )
...
* Fix offsetDateTime and remove unnecessary override annotations
* Update petstore samples to CI for resteasy testing
* fix resteasy templates path
* add ability to hide generated annotations
* Update petstore resteasy samples
* Deduplicate artifact names in resteasy projects
2016-08-15 23:46:52 +08:00
wing328
2943177d06
Merge branch 'kartenkarsten-patch-1'
2016-08-12 15:37:46 +08:00
wing328
1c9c2eb09c
update java jersey1 sample
2016-08-12 15:37:31 +08:00
wing328
621dee30a8
Merge branch 'patch-1' of https://github.com/kartenkarsten/swagger-codegen into kartenkarsten-patch-1
2016-08-12 15:33:02 +08:00
wing328
0a5cd19e97
update JS test cases
2016-08-12 10:30:33 +08:00
wing328
3c1e47c31d
Merge branch 'feature/jack/update-swift-alamofire' of https://github.com/JackWink/swagger-codegen into JackWink-feature/jack/update-swift-alamofire
2016-08-12 08:59:12 +08:00
wing328
752ba61e67
[Go] Add more test cases and fix numeric form/header parameters ( #3574 )
...
* add more tests for go, fix numeric form/header parameters
* update go sample
2016-08-11 14:28:31 +08:00
wing328
d2d5553a45
[Go] prefix go local var with localVar ( #3570 )
...
* prefix go local var with localVar
* remove pom from go, minor fix to headerParams
2016-08-10 16:14:33 +08:00
wing328
31fd1df26b
Merge pull request #3562 from wing328/add_enum_endpoint
...
[Java][Spring] Add enum test cases and fix formParam's enum value
2016-08-09 23:32:04 +08:00