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
wing328
dbeb82f976
Merge pull request #3564 from cliffano/fix-incorrect-param-update-params-for-auth
...
Fix unknown parameter on api_client's update_params_for_auth method.
2016-08-09 23:27:15 +08:00
Karsten Hinz
58f00efcc3
sample update
2016-08-09 15:09:48 +02:00
wing328
d626200479
fix form enum parameters for spring generator, add more test cases
2016-08-09 19:49:38 +08:00
wing328
453f80a1d3
add new java client files
2016-08-09 18:59:59 +08:00
Cliffano Subagio
aba2d35a18
Fix unknown parameter on api_client's update_params_for_auth method.
2016-08-09 19:11:26 +10:00
wing328
817a78e3a7
minor indentation fix for java enum models
2016-08-09 16:50:21 +08:00
wing328
87c31188b7
Merge pull request #3550 from jimschubert/aspnet/models-casing
...
[aspnet] Honor casing of properties from definition
2016-08-09 14:55:03 +08:00